21 "EqualGradientConstraint enforces continuity of a gradient component between secondary and "
22 "primary sides of a mortar interface using lagrange multipliers");
23 params.
addRequiredParam<
unsigned int>(
"component",
"Gradient component to constrain");
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("MooseApp", EqualGradientConstraint)
void ErrorVector unsigned int
const ADVariableGradient & _grad_u_primary
The primal solution gradient on the primary side.
const ADVariableValue & _lambda
The LM solution.
static InputParameters validParams()
const ADVariableGradient & _grad_u_secondary
The primal solution gradient on the secondary side.
Constrain a specified component of the gradient of a variable to be the same on both sides of an inte...
const unsigned int _component
static InputParameters validParams()
ADReal computeQpResidual(Moose::MortarType mortar_type) final
compute the residual at the quadrature points
EqualGradientConstraint(const InputParameters ¶meters)
const VariableTestGradient & _grad_test_primary
The shape function gradients corresponding to the primary interior primal variable.
const VariableTestValue & _test
The shape functions corresponding to the lagrange multiplier variable.
const VariableTestGradient & _grad_test_secondary
The shape function gradients corresponding to the secondary interior primal variable.