21 params.
addClassDescription(
"Lagrange multiplier kernel for EqualGradientLagrangeInterface.");
22 params.
addRequiredParam<
unsigned int>(
"component",
"Gradient component to constrain");
24 "The gradient constrained variable on this side of the interface.");
27 "Compensate on diagonal Jacobian fill term when " 28 "using a NullKernel on the Lagrange multiplier " 35 _component(getParam<unsigned
int>(
"component")),
36 _grad_element_value(getVar(
"element_var", 0)->gradSln()),
37 _element_jvar(getVar(
"element_var", 0)->number()),
38 _neighbor_jvar(_neighbor_var.number()),
39 _jacobian_fill(getParam<
Real>(
"jacobian_fill"))
unsigned int _element_jvar
virtual Real computeQpOffDiagJacobian(Moose::DGJacobianType type, unsigned int jvar) override
EqualGradientLagrangeMultiplier(const InputParameters ¶meters)
registerMooseObject("PhaseFieldApp", EqualGradientLagrangeMultiplier)
virtual Real computeQpResidual(Moose::DGResidualType type) override
virtual Real computeQpJacobian(Moose::DGJacobianType type) override
const std::string & type() const
const unsigned int _component
x,y,z component of the gradient to constrain
const VariableGradient & _grad_element_value
variable to control gradient on the primary side of the interface
const TemplateVariableTestValue & _test
const Real _jacobian_fill
compensate Jacobian fill term from NullKernel
const TemplateVariablePhiGradient & _grad_phi_neighbor
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const TemplateVariablePhiGradient & _grad_phi
Lagrange multiplier "FaceKernel" that is used in conjunction with EqualGradientLagrangeInterface.
void ErrorVector unsigned int
static InputParameters validParams()
const TemplateVariableGradient & _grad_neighbor_value