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"
56 const std::string& physics_name );
61 void pin_value( libMesh::DiffContext& context,
62 const bool request_jacobian,
64 const double penalty = 1.0 );
76 #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 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)