23 virtual void computeResidual(
const NumericVector<Number> & residual)
override;
24 virtual void computeJacobian(
const SparseMatrix<Number> & jacobian)
override;
const InputParameters & parameters() const
const std::string & type() const
virtual void computeResidual() override final
virtual void computeJacobian() override final
const Real & _normal_force
Normal stiffness of spring.
virtual void computeResidual() override final
void updateConstrainedNodes()
Update the sets of nodes with constrained DOFs.
virtual void meshChanged() override
const Real & _tangential_penalty
Tangential stiffness of spring.
virtual Real computeQpJacobian(Moose::ConstraintJacobianType type) override
static InputParameters validParams()
const Real & _friction_coefficient
Coefficient of friction.
const VariableValue & _u_primary_old
Old value of the constrainted variable on the primary nodes.
BoundaryName _primary_boundary_id
Holds the secondary node set or side set.
virtual Real computeQpResidual(Moose::ConstraintType type) override
virtual void computeJacobian() override final
std::vector< dof_id_type > _primary_conn
primary node id connected to each secondary node in _connected_nodes
BoundaryName _secondary_boundary_id
Holds the secondary node set or side set.
const VariableValue & _u_secondary_old
Old value of the constrainted variable on the secondary nodes.
VariableValueTempl< false > VariableValue