Ewoms::MultiPhaseBaseModel< TypeTag > Class Template Reference

A base class for fully-implicit multi-phase porous-media flow models which assume multiple fluid phases. More...

#include <multiphasebasemodel.hh>

Inheritance diagram for Ewoms::MultiPhaseBaseModel< TypeTag >:
Inheritance graph

Public Member Functions

 MultiPhaseBaseModel (Simulator &simulator)
 
void finishInit ()
 Apply the initial conditions to the model. More...
 
bool phaseIsConsidered (int phaseIdx) const
 Returns true iff a fluid phase is used by the model. More...
 
void globalPhaseStorage (EqVector &storage, int phaseIdx)
 Compute the total storage inside one phase of all conservation quantities. More...
 
void registerOutputModules_ ()
 

Static Public Member Functions

static void registerParameters ()
 Register all run-time parameters for the immiscible model. More...
 

Detailed Description

template<class TypeTag>
class Ewoms::MultiPhaseBaseModel< TypeTag >

A base class for fully-implicit multi-phase porous-media flow models which assume multiple fluid phases.

Constructor & Destructor Documentation

template<class TypeTag >
Ewoms::MultiPhaseBaseModel< TypeTag >::MultiPhaseBaseModel ( Simulator simulator)
inline

Member Function Documentation

template<class TypeTag >
void Ewoms::MultiPhaseBaseModel< TypeTag >::finishInit ( )
inline

Apply the initial conditions to the model.

References EWOMS_GET_PARAM.

Referenced by Ewoms::BlackOilModel< TypeTag >::finishInit(), and Ewoms::NcpModel< TypeTag >::finishInit().

template<class TypeTag >
void Ewoms::MultiPhaseBaseModel< TypeTag >::globalPhaseStorage ( EqVector &  storage,
int  phaseIdx 
)
inline

Compute the total storage inside one phase of all conservation quantities.

Parameters
storageStores the total amount of each conserved quantity inside the domain.
phaseIdxThe index of the fluid phase of interest.

References Ewoms::ThreadedEntityIterator< GridView, codim >::beginParallel(), Ewoms::ThreadedEntityIterator< GridView, codim >::increment(), Ewoms::ThreadedEntityIterator< GridView, codim >::isFinished(), Ewoms::ThreadManager< TypeTag >::threadId(), and OmpMutex::unlock().

template<class TypeTag >
bool Ewoms::MultiPhaseBaseModel< TypeTag >::phaseIsConsidered ( int  phaseIdx) const
inline

Returns true iff a fluid phase is used by the model.

Parameters
phaseIdxThe index of the fluid phase in question

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