51 unsigned int jvar) override;
Moose::GenericType< Real, is_ad > GenericReal
A EqualValueEmbeddedConstraint forces the value of a variable to be the same on overlapping portion o...
virtual Real computeQpOffDiagJacobian(Moose::ConstraintJacobianType type, unsigned int jvar) override
This is the virtual method that derived classes should override for computing the off-diag Jacobian.
GenericReal< is_ad > _constraint_residual
constraint force needed to enforce the constraint
virtual void timestepSetup() override
Gets called at the beginning of the timestep before this object is asked to do its job.
virtual void jacobianSetup() override
Gets called just before the Jacobian is computed and before this object is asked to do its job.
MooseSharedPointer< DisplacedProblem > _displaced_problem
virtual bool addCouplingEntriesToJacobian() override
virtual Real computeQpSecondaryValue() override
Compute the value the secondary node should have at the beginning of a timestep.
bool shouldApply() override final
Whether or not this constraint should be applied.
NumericVector< Number > & _residual_copy
copy of the residual before the constraint is applied
virtual void residualEnd() override
CreateMooseEnumClass(Formulation, KINEMATIC, PENALTY) _formulation
Formulations, currently only supports KINEMATIC and PENALTY.
const Real _penalty
Penalty parameter used in constraint enforcement for kinematic and penalty formulations.
usingGenericNodeElemConstraint
virtual void prepareSecondaryToPrimaryMap() override
prepare the _secondary_to_primary_map (see NodeElemConstraintBase)
static InputParameters validParams()
virtual void reinitConstraint()
Prepare the residual contribution of the current constraint required to enforce it based on the speci...
virtual GenericReal< is_ad > computeQpResidual(Moose::ConstraintType type) override
This is the virtual method that derived classes should override for computing the residual.
virtual Real computeQpJacobian(Moose::ConstraintJacobianType type) override
This is the virtual method that derived classes should override for computing the Jacobian.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
const InputParameters & parameters() const
Get the parameters of the object.
const std::string & type() const
Get the type of this class.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...