Callback class for a phase pressure. More...
#include <quantitycallbacks.hh>
Public Types | |
typedef IQScalar | ResultType |
Public Member Functions | |
BoundaryPressureCallback (const ElementContext &elemCtx, const FluidState &boundaryFs) | |
BoundaryPressureCallback (const ElementContext &elemCtx, const FluidState &boundaryFs, unsigned phaseIdx) | |
void | setPhaseIndex (unsigned phaseIdx) |
Set the index of the fluid phase for which the pressure should be returned. | |
ResultType | operator() (unsigned dofIdx) const |
Return the pressure of a phase given the index of a degree of freedom within an element context. | |
IQScalar | boundaryValue () const |
Callback class for a phase pressure.