All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Ewoms::BoundaryPressureCallback< TypeTag, FluidState > Class Template Reference

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
 

Detailed Description

template<class TypeTag, class FluidState>
class Ewoms::BoundaryPressureCallback< TypeTag, FluidState >

Callback class for a phase pressure.


The documentation for this class was generated from the following file: