GRINS-0.6.0
|
Class to hold typical boundary condition methods. More...
#include <pressure_pinning.h>
Public Member Functions | |
PressurePinning (const GetPot &input, const std::string &physics_name) | |
~PressurePinning () | |
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.g. More... | |
Private Attributes | |
libMesh::Number | _pin_value |
Value of pressure we wish to pin. More... | |
libMesh::Point | _pin_location |
Location we want to pin the pressure. More... | |
Class to hold typical boundary condition methods.
This class holds functions to apply generic versions of Dirichlet and Neumann boundary conditions.
Definition at line 51 of file pressure_pinning.h.
GRINS::PressurePinning::PressurePinning | ( | const GetPot & | input, |
const std::string & | physics_name | ||
) |
Definition at line 40 of file pressure_pinning.C.
References _pin_location, and _pin_value.
GRINS::PressurePinning::~PressurePinning | ( | ) |
Definition at line 64 of file pressure_pinning.C.
void GRINS::PressurePinning::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.g.
pressure for IncompressibleNavierStokes.
Definition at line 69 of file pressure_pinning.C.
References _pin_location, and _pin_value.
|
private |
Location we want to pin the pressure.
Definition at line 72 of file pressure_pinning.h.
Referenced by pin_value(), and PressurePinning().
|
private |
Value of pressure we wish to pin.
Definition at line 69 of file pressure_pinning.h.
Referenced by pin_value(), and PressurePinning().