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, short phaseIdx)
 
void setPhaseIndex (short phaseIdx)
 Set the index of the fluid phase for which the pressure should be returned. More...
 
ResultType operator() (int dofIdx) const
 Return the pressure of a phase given the index of a degree of freedom within an element context. More...
 
IQScalar boundaryValue () const
 

Detailed Description

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

Callback class for a phase pressure.

Member Typedef Documentation

template<class TypeTag, class FluidState>
typedef IQScalar Ewoms::BoundaryPressureCallback< TypeTag, FluidState >::ResultType

Constructor & Destructor Documentation

template<class TypeTag, class FluidState>
Ewoms::BoundaryPressureCallback< TypeTag, FluidState >::BoundaryPressureCallback ( const ElementContext &  elemCtx,
const FluidState &  boundaryFs 
)
inline
template<class TypeTag, class FluidState>
Ewoms::BoundaryPressureCallback< TypeTag, FluidState >::BoundaryPressureCallback ( const ElementContext &  elemCtx,
const FluidState &  boundaryFs,
short  phaseIdx 
)
inline

Member Function Documentation

template<class TypeTag, class FluidState>
IQScalar Ewoms::BoundaryPressureCallback< TypeTag, FluidState >::boundaryValue ( ) const
inline
template<class TypeTag, class FluidState>
ResultType Ewoms::BoundaryPressureCallback< TypeTag, FluidState >::operator() ( int  dofIdx) const
inline

Return the pressure of a phase given the index of a degree of freedom within an element context.

template<class TypeTag, class FluidState>
void Ewoms::BoundaryPressureCallback< TypeTag, FluidState >::setPhaseIndex ( short  phaseIdx)
inline

Set the index of the fluid phase for which the pressure should be returned.

Referenced by Ewoms::DarcyExtensiveQuantities< TypeTag >::calculateBoundaryGradients_().


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