22 "The variable on the primary side of the domain");
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)
MooseMesh & _mesh
Reference to this Kernel's mesh object.
virtual bool overwriteSecondaryResidual() const
Whether or not the secondary's residual should be overwritten.
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
Base class for all Constraint types.
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.
VariableTestValue _test_secondary
Shape function on the secondary side. This will always only have one entry and that entry will always...
SubdomainID getSubdomainID(const SubdomainName &subdomain_name, const MeshBase &mesh)
Gets the subdomain ID associated with the given SubdomainName.
NodeElemConstraintBase(const InputParameters ¶meters)
MooseVariable & _var
secondary node variable
void errorIfDistributedMesh(std::string name) const
Generate a unified error message if the underlying libMesh mesh is a DistributedMesh.
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()
VarKindType
Framework-wide stuff.
void addMooseVariableDependency(MooseVariableFieldBase *var)
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const dof_id_type & nodalDofIndex() const override
void release()
Manually deallocates the data pointer.
static InputParameters validParams()
virtual void set(const numeric_index_type i, const Number value)=0
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
static InputParameters validParams()