https://mooseframework.inl.gov
Loading...
Searching...
No Matches
HFEMTrialJump.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "DGKernel.h"
13
27class HFEMTrialJump : public DGKernel
28{
29public:
31
33
34protected:
35 virtual Real computeQpResidual(Moose::DGResidualType type) override;
36 virtual Real computeQpJacobian(Moose::DGJacobianType) override { return 0; }
37 virtual Real computeQpOffDiagJacobian(Moose::DGJacobianType type, unsigned int jvar) override;
38
41
44
47
50
53
56
58 const unsigned int _interior_id;
59};
OutputTools< Real >::VariablePhiValue VariablePhiValue
Definition MooseTypes.h:353
OutputTools< Real >::VariableValue VariableValue
Definition MooseTypes.h:348
The DGKernel class is responsible for calculating the residuals for various physics on internal sides...
Definition DGKernel.h:19
The HFEMTrialJump class computes an L2 product (lambda*, [u])_Gamma, where Gamma is the set of intern...
const MooseVariable & _interior_var
Variable whose jump to test against variations in lambda.
const unsigned int _interior_id
Variable id for interior variable.
static InputParameters validParams()
virtual Real computeQpJacobian(Moose::DGJacobianType) override
This is the virtual that derived classes should override for computing the Jacobian on neighboring el...
const VariablePhiValue & _phi_interior
interior shape function at the current side quadrature point
const VariablePhiValue & _phi_interior_neighbor
neighbor's shape function at the current side quadrature point
virtual Real computeQpResidual(Moose::DGResidualType type) override
This is the virtual that derived classes should override for computing the residual on neighboring el...
virtual Real computeQpOffDiagJacobian(Moose::DGJacobianType type, unsigned int jvar) override
This is the virtual that derived classes should override for computing the off-diag Jacobian.
const VariableValue & _interior
Current interior solution at the current side quadrature point.
const VariablePhiValue & _test_interior
interior test function at the current side quadrature point
const VariableValue & _interior_neighbor
neighbor's interior solution at the current side quadrature point
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
const std::string & type() const
Get the type of this class.
Definition MooseBase.h:93
DGResidualType
Definition MooseTypes.h:798
DGJacobianType
Definition MooseTypes.h:804