19 params.
addClassDescription(
"Imposes constraints for HFEM with side-discontinuous variables.");
25 _interior_var(*getVar(
"interior_variable", 0)),
26 _interior(_is_implicit ? _interior_var.sln() : _interior_var.slnOld()),
27 _interior_neighbor(_is_implicit ? _interior_var.slnNeighbor() : _interior_var.slnOldNeighbor()),
28 _phi_interior(_interior_var.phiFace()),
29 _phi_interior_neighbor(_assembly.phiFaceNeighbor(_interior_var)),
30 _test_interior(_interior_var.phiFace()),
31 _interior_id(coupled(
"interior_variable"))
41 const Real sign = (
_normals[0] > Point()) ? 1 : -1;
62 const Real sign = (
_normals[0] > Point()) ? 1 : -1;
registerMooseObject("MooseApp", HFEMTrialJump)
const MooseArray< Point > & _normals
Normal vectors at the quadrature points.
The DGKernel class is responsible for calculating the residuals for various physics on internal sides...
static InputParameters validParams()
Factory constructor initializes all internal references needed for residual computation.
const VariableTestValue & _test
test functions
The HFEMTrialJump class computes an L2 product (lambda*, [u])_Gamma, where Gamma is the set of intern...
const unsigned int _interior_id
Variable id for interior variable.
static InputParameters validParams()
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...
HFEMTrialJump(const InputParameters ¶meters)
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 VariableValue & _interior_neighbor
neighbor's interior solution at the current side quadrature point
const std::string & type() const
Get the type of this class.