Opm::BlackOilDispersionExtensiveQuantities< TypeTag, true > Class Template Reference

Provides the quantities required to calculate dispersive mass fluxes. More...

#include <blackoildispersionmodule.hh>

Public Types

using ScalarArray = Scalar[numPhases]
 

Public Member Functions

const Scalar & dispersivity () const
 The dispersivity of the face. More...
 
const Scalar & normVelocityAvg (unsigned phaseIdx) const
 The effective velocity coefficient in a fluid phase at the face's integration point. More...
 
const auto & normVelocityAvg () const
 

Static Public Member Functions

static void update (ScalarArray &normVelocityAvg, const IntensiveQuantities &intQuantsInside, const IntensiveQuantities &intQuantsOutside)
 

Protected Member Functions

template<class Context , class FluidState >
void updateBoundary_ (const Context &, unsigned, unsigned, const FluidState &)
 

Detailed Description

template<class TypeTag>
class Opm::BlackOilDispersionExtensiveQuantities< TypeTag, true >

Provides the quantities required to calculate dispersive mass fluxes.

Member Typedef Documentation

◆ ScalarArray

template<class TypeTag >
using Opm::BlackOilDispersionExtensiveQuantities< TypeTag, true >::ScalarArray = Scalar[numPhases]

Member Function Documentation

◆ dispersivity()

template<class TypeTag >
const Scalar & Opm::BlackOilDispersionExtensiveQuantities< TypeTag, true >::dispersivity ( ) const
inline

The dispersivity of the face.

Parameters
phaseIdxThe index of the fluid phase of interest.
compIdxThe index of the (pseudo-)component of interest.

◆ normVelocityAvg() [1/2]

template<class TypeTag >
const auto & Opm::BlackOilDispersionExtensiveQuantities< TypeTag, true >::normVelocityAvg ( ) const
inline

◆ normVelocityAvg() [2/2]

template<class TypeTag >
const Scalar & Opm::BlackOilDispersionExtensiveQuantities< TypeTag, true >::normVelocityAvg ( unsigned  phaseIdx) const
inline

The effective velocity coefficient in a fluid phase at the face's integration point.

Parameters
phaseIdxThe index of the fluid phase of interest.
compIdxThe index of the (pseudo-)component of interest.

◆ update()

template<class TypeTag >
static void Opm::BlackOilDispersionExtensiveQuantities< TypeTag, true >::update ( ScalarArray normVelocityAvg,
const IntensiveQuantities &  intQuantsInside,
const IntensiveQuantities &  intQuantsOutside 
)
inlinestatic

◆ updateBoundary_()

template<class TypeTag >
template<class Context , class FluidState >
void Opm::BlackOilDispersionExtensiveQuantities< TypeTag, true >::updateBoundary_ ( const Context &  ,
unsigned  ,
unsigned  ,
const FluidState &   
)
inlineprotected

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