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

Callback class for the density of a phase. More...

#include <quantitycallbacks.hh>

Public Types

typedef std::remove_const
< typename
std::remove_reference
< ResultRawType >::type >
::type 
ResultType
 
typedef Opm::MathToolbox
< ResultType >::ValueType 
ResultValueType
 

Public Member Functions

 DensityCallback (const ElementContext &elemCtx)
 
 DensityCallback (const ElementContext &elemCtx, unsigned phaseIdx)
 
void setPhaseIndex (unsigned phaseIdx)
 Set the index of the fluid phase for which the density should be returned.
 
ResultType operator() (unsigned dofIdx) const
 Return the density of a phase given the index of a degree of freedom within an element context.
 

Detailed Description

template<class TypeTag>
class Ewoms::DensityCallback< TypeTag >

Callback class for the density of a phase.


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