Opm::FICompositionalModel< TypeTag > Class Template Reference

PT-flash model that updates the cached intensive quantities cell by cell, without element contexts. More...

#include <FICompositionalModel.hpp>

Inheritance diagram for Opm::FICompositionalModel< TypeTag >:
Inheritance graph

Public Member Functions

 FICompositionalModel (Simulator &simulator)
 
void invalidateAndUpdateIntensiveQuantities (unsigned timeIdx) const
 
std::string primaryVarName (unsigned pvIdx) const
 Given an primary variable index, return a human readable name. More...
 
std::string primaryVarName (unsigned pvIdx) const
 Given an primary variable index, return a human readable name. More...
 
std::string eqName (unsigned eqIdx) const
 Given an equation index, return a human readable name. More...
 
std::string eqName (unsigned eqIdx) const
 Given an equation index, return a human readable name. More...
 
Scalar primaryVarWeight (unsigned globalDofIdx, unsigned pvIdx) const
 Returns the relative weight of a primary variable for calculating relative errors. More...
 
Scalar eqWeight (unsigned globalDofIdx, unsigned eqIdx) const
 Returns the relative weight of an equation. More...
 
void registerOutputModules_ ()
 
void registerOutputModules_ ()
 
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...
 

Static Public Member Functions

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

Detailed Description

template<class TypeTag>
class Opm::FICompositionalModel< TypeTag >

PT-flash model that updates the cached intensive quantities cell by cell, without element contexts.

Constructor & Destructor Documentation

◆ FICompositionalModel()

template<class TypeTag >
Opm::FICompositionalModel< TypeTag >::FICompositionalModel ( Simulator &  simulator)
inlineexplicit

Member Function Documentation

◆ eqName() [1/2]

template<class TypeTag >
std::string Opm::FlashModel< TypeTag >::eqName ( unsigned  eqIdx) const
inlineinherited

Given an equation index, return a human readable name.

Parameters
eqIdxThe index of the conservation equation of interest.

◆ eqName() [2/2]

template<class TypeTag >
std::string Opm::FlashModel< TypeTag >::eqName ( unsigned  eqIdx) const
inlineinherited

Given an equation index, return a human readable name.

Parameters
eqIdxThe index of the conservation equation of interest.

◆ eqWeight()

template<class TypeTag >
Scalar Opm::FlashModel< TypeTag >::eqWeight ( unsigned  globalDofIdx,
unsigned  eqIdx 
) const
inlineinherited

Returns the relative weight of an equation.

Parameters
globalVertexIdxThe global index of the vertex
eqIdxThe index of the equation
globalDofIdxGlobal index
eqIdxEquation index

◆ globalPhaseStorage()

template<class TypeTag >
void Opm::MultiPhaseBaseModel< TypeTag >::globalPhaseStorage ( EqVector &  storage,
unsigned  phaseIdx 
)
inlineinherited

◆ invalidateAndUpdateIntensiveQuantities()

template<class TypeTag >
void Opm::FICompositionalModel< TypeTag >::invalidateAndUpdateIntensiveQuantities ( unsigned  timeIdx) const
inline

◆ name()

template<class TypeTag >
static std::string Opm::FlashModel< TypeTag >::name ( )
inlinestaticinherited

◆ phaseIsConsidered()

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

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

Parameters
phaseIdxThe index of the fluid phase in question

◆ primaryVarName() [1/2]

template<class TypeTag >
std::string Opm::FlashModel< TypeTag >::primaryVarName ( unsigned  pvIdx) const
inlineinherited

Given an primary variable index, return a human readable name.

Parameters
pvIdxThe index of the primary variable of interest.

◆ primaryVarName() [2/2]

template<class TypeTag >
std::string Opm::FlashModel< TypeTag >::primaryVarName ( unsigned  pvIdx) const
inlineinherited

Given an primary variable index, return a human readable name.

Parameters
pvIdxThe index of the primary variable of interest.

◆ primaryVarWeight()

template<class TypeTag >
Scalar Opm::FlashModel< TypeTag >::primaryVarWeight ( unsigned  globalDofIdx,
unsigned  pvIdx 
) const
inlineinherited

Returns the relative weight of a primary variable for calculating relative errors.

Parameters
globalDofIdxThe global index of the degree of freedom
pvIdxThe index of the primary variable

◆ registerOutputModules_() [1/2]

template<class TypeTag >
void Opm::FlashModel< TypeTag >::registerOutputModules_ ( )
inlineinherited

◆ registerOutputModules_() [2/2]

template<class TypeTag >
void Opm::FlashModel< TypeTag >::registerOutputModules_ ( )
inlineinherited

◆ registerParameters() [1/2]

template<class TypeTag >
static void Opm::FlashModel< TypeTag >::registerParameters ( )
inlinestaticinherited

◆ registerParameters() [2/2]


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