Opm::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 Opm::MultiPhaseBaseModel< TypeTag >:
Inheritance graph

Public Member Functions

 MultiPhaseBaseModel (Simulator &simulator)
 
bool phaseIsConsidered (unsigned) const
 Returns true iff a fluid phase is used by the model. More...
 
void globalPhaseStorage (EqVector &storage, unsigned 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 Opm::MultiPhaseBaseModel< TypeTag >

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

Constructor & Destructor Documentation

◆ MultiPhaseBaseModel()

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

Member Function Documentation

◆ globalPhaseStorage()

template<class TypeTag >
void Opm::MultiPhaseBaseModel< TypeTag >::globalPhaseStorage ( EqVector &  storage,
unsigned  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 Opm::ThreadedEntityIterator< GridView, codim >::beginParallel(), Opm::ThreadedEntityIterator< GridView, codim >::increment(), Opm::ThreadedEntityIterator< GridView, codim >::isFinished(), and Opm::ThreadManager< TypeTag >::threadId().

◆ phaseIsConsidered()

template<class TypeTag >
bool Opm::MultiPhaseBaseModel< TypeTag >::phaseIsConsidered ( unsigned  ) const
inline

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

Parameters
phaseIdxThe index of the fluid phase in question

◆ registerOutputModules_()

◆ registerParameters()


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