22 "The variable on the primary side of the domain");
32 this, true,
Moose::VarKindType::VAR_SOLVER,
Moose::VarFieldType::VAR_FIELD_STANDARD),
33 _var(_sys.getFieldVariable<Real>(_tid, parameters.get<NonlinearVariableName>(
"variable"))),
34 _primary_var(*getVar(
"primary_variable", 0)),
36 _secondary(_mesh.getSubdomainID(getParam<SubdomainName>(
"secondary"))),
37 _primary(_mesh.getSubdomainID(getParam<SubdomainName>(
"primary"))),
39 _current_node(_var.node()),
40 _current_elem(_var.neighbor()),
45 _phi_primary(_assembly.phiNeighbor(_primary_var)),
46 _test_primary(_var.phiNeighbor()),
48 _node_to_elem_map(_mesh.nodeToElemMap()),
49 _overwrite_secondary_residual(false)
Base class for all Constraint types.
static InputParameters validParams()
void errorIfDistributedMesh(std::string name) const
Generate a unified error message if the underlying libMesh mesh is a DistributedMesh.
void addMooseVariableDependency(MooseVariableFieldBase *var)
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends...
const dof_id_type & nodalDofIndex() const override
Enhances MooseVariableInterface interface provide values from neighbor elements.
virtual Real computeQpSecondaryValue()=0
Compute the value the secondary node should have at the beginning of a timestep.
bool _overwrite_secondary_residual
Whether or not the secondary's residual should be overwritten.
VariableTestValue _test_secondary
Shape function on the secondary side. This will always only have one entry and that entry will always...
VariablePhiValue _phi_secondary
Shape function on the secondary side.
static InputParameters validParams()
MooseVariable & _var
secondary node variable
NodeElemConstraintBase(const InputParameters ¶meters)
virtual bool overwriteSecondaryResidual() const
Whether or not the secondary's residual should be overwritten.
~NodeElemConstraintBase()
void computeSecondaryValue(NumericVector< Number > ¤t_solution)
Compute the value the secondary node should have at the beginning of a timestep.
MooseMesh & _mesh
Reference to this Kernel's mesh object.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...