std::map< dof_id_type, dof_id_type > _secondary_to_primary_map
maps secondary node ids to primary element ids
const Elem *const & _current_elem
current element being processed
virtual bool shouldApply()
Whether or not this constraint should be applied.
const MooseVariable & variable() const override
The variable number that this object operates on.
virtual bool overwriteSecondaryResidual() const
Whether or not the secondary's residual should be overwritten.
Class for stuff related to variables.
Base class for all Constraint types.
virtual MooseVariable & primaryVariable() const
The variable on the primary elem.
bool _overwrite_secondary_residual
Whether or not the secondary's residual should be overwritten.
void computeSecondaryValue(NumericVector< Number > ¤t_solution)
Compute the value the secondary node should have at the beginning of a timestep.
const SparseMatrix< Number > * _jacobian
system Jacobian, provides pre-constraint Jacobian for nonAD kinematic constraints ...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
VariableTestValue _test_secondary
Shape function on the secondary side. This will always only have one entry and that entry will always...
NodeElemConstraintBase(const InputParameters ¶meters)
MooseVariable & _var
secondary node variable
unsigned short _secondary
secondary block id
virtual Real computeQpSecondaryValue()=0
Compute the value the secondary node should have at the beginning of a timestep.
Enhances MooseVariableInterface interface provide values from neighbor elements.
VariablePhiValue _phi_secondary
Shape function on the secondary side.
~NodeElemConstraintBase()
const Node *const & _current_node
current node being processed
OutputTools< Real >::VariableTestValue VariableTestValue
MooseVariable & _primary_var
Primary side variable.
const std::map< dof_id_type, std::vector< dof_id_type > > & _node_to_elem_map
MooseMesh map of current nodes to the connected elements.
DenseMatrix< Number > _Kee
stiffness matrix holding secondary-secondary jacobian
unsigned short _primary
primary block id
std::vector< dof_id_type > _connected_dof_indices
dofs connected to the secondary node
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
DenseMatrix< Number > _Kne
stiffness matrix holding primary-secondary jacobian
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
A NodeElemConstraintBase is used when you need to create constraints between a secondary node and a p...
const VariablePhiValue & _phi_primary
Side shape function.
virtual bool overwriteSecondaryJacobian() const
Whether or not the secondary's Jacobian row should be overwritten.
const VariableTestValue & _test_primary
Side test function.