25 #ifndef PRESSURE_PINNING_H
26 #define PRESSURE_PINNING_H
29 #include "libmesh/getpot.h"
30 #include "libmesh/libmesh.h"
31 #include "libmesh/point.h"
57 const std::string& physics_name );
67 void pin_value( libMesh::DiffContext& context,
68 const bool request_jacobian,
70 const double penalty = 1.0 );
88 #endif //PRESSURE_PINNING_H
unsigned int VariableIndex
More descriptive name of the type used for variable indices.
libMesh::Point _pin_location
Location we want to pin the pressure.
void check_pin_location(const libMesh::MeshBase &mesh)
Check the mesh to ensure pin location is found.
libMesh::dof_id_type _pinned_elem_id
Cache element id for element that contains _pin_location.
void pin_value(libMesh::DiffContext &context, const bool request_jacobian, const GRINS::VariableIndex var, const double penalty=1.0)
The idea here is to pin a variable to a particular value if there is a null space - e...
libMesh::Number _pin_value
Value of pressure we wish to pin.
Class to hold typical boundary condition methods.
PressurePinning(const GetPot &input, const std::string &physics_name)