41 _var_pinning(input,physics_name),
42 _penalty(input(
"Physics/" +
PhysicsNaming::variable_pinning() +
"/penalty", 1e10)),
45 std::string pin_variable_str =
"Physics/" +
47 if (input.have_variable(pin_variable_str))
67 "Warning! VariablePinning physics requested but not used!"
85 (
bool compute_jacobian,
90 _var_pinning.pin_value( context, compute_jacobian, this->_variable_to_pin, this->_penalty );
virtual void auxiliary_init(MultiphysicsSystem &system)
Initialize pinning helper object.
Physics abstract base class. Defines API for physics to be added to MultiphysicsSystem.
std::string _variablename_to_pin
static PhysicsName variable_pinning()
virtual void init_context(AssemblyContext &context)
Initialize context for added physics variables.
void check_pin_location(const libMesh::MeshBase &mesh)
Check the mesh to ensure pin location is found.
Interface with libMesh for solving Multiphysics problems.
PressurePinning _var_pinning
unsigned int _variable_to_pin
virtual void element_constraint(bool compute_jacobian, AssemblyContext &context)
Time dependent part(s) of physics for element interiors.