50 unsigned int jvar)
override;
static InputParameters validParams()
virtual GenericReal< is_ad > computeQpResidual(Moose::ConstraintType type) override
This is the virtual method that derived classes should override for computing the residual...
Moose::GenericType< Real, is_ad > GenericReal
virtual Real computeQpJacobian(Moose::ConstraintJacobianType type) override
This is the virtual method that derived classes should override for computing the Jacobian...
A EqualValueEmbeddedConstraint forces the value of a variable to be the same on overlapping portion o...
virtual void reinitConstraint()
Prepare the residual contribution of the current constraint required to enforce it based on the speci...
virtual void jacobianSetup() override
Gets called just before the Jacobian is computed and before this object is asked to do its job...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
virtual void prepareSecondaryToPrimaryMap() override
prepare the _secondary_to_primary_map (see NodeElemConstraintBase)
NumericVector< Number > & _residual_copy
copy of the residual before the constraint is applied
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
bool shouldApply() override
Whether or not this constraint should be applied.
enum EqualValueEmbeddedConstraintTempl::Formulation _formulation
EqualValueEmbeddedConstraintTempl< false > EqualValueEmbeddedConstraint
GenericReal< is_ad > _constraint_residual
constraint force needed to enforce the constraint
Formulation
Formulations, currently only supports KINEMATIC and PENALTY.
usingGenericNodeElemConstraint
const std::string & type() const
Get the type of this class.
EqualValueEmbeddedConstraintTempl< true > ADEqualValueEmbeddedConstraint
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...
virtual void residualEnd() override
virtual Real computeQpSecondaryValue() override
Compute the value the secondary node should have at the beginning of a timestep.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _penalty
Penalty parameter used in constraint enforcement for kinematic and penalty formulations.
virtual void timestepSetup() override
Gets called at the beginning of the timestep before this object is asked to do its job...
const InputParameters & parameters() const
Get the parameters of the object.
virtual bool addCouplingEntriesToJacobian() override
EqualValueEmbeddedConstraintTempl(const InputParameters ¶meters)
MooseSharedPointer< DisplacedProblem > _displaced_problem