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

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

#include <blackoildiffusionmodule.hh>

Public Types

using EvaluationArray = Evaluation[numPhases][numComponents]
 

Public Member Functions

const Scalar & diffusivity () const
 The diffusivity of the face. More...
 
const Evaluation & effectiveDiffusionCoefficient (unsigned phaseIdx, unsigned compIdx) const
 The effective diffusion coeffcient of a component in a fluid phase at the face's integration point. More...
 
const auto & effectiveDiffusionCoefficient () const
 

Static Public Member Functions

static void update (EvaluationArray &effectiveDiffusionCoefficient, const IntensiveQuantities &intQuantsInside, const IntensiveQuantities &intQuantsOutside)
 

Protected Member Functions

void update_ (const ElementContext &elemCtx, unsigned faceIdx, unsigned timeIdx)
 Update the quantities required to calculate the diffusive mass fluxes. More...
 
template<class Context , class FluidState >
void updateBoundary_ (const Context &, unsigned, unsigned, const FluidState &)
 

Detailed Description

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

Provides the quantities required to calculate diffusive mass fluxes.

Member Typedef Documentation

◆ EvaluationArray

template<class TypeTag >
using Opm::BlackOilDiffusionExtensiveQuantities< TypeTag, true >::EvaluationArray = Evaluation[numPhases][numComponents]

Member Function Documentation

◆ diffusivity()

template<class TypeTag >
const Scalar & Opm::BlackOilDiffusionExtensiveQuantities< TypeTag, true >::diffusivity ( ) const
inline

The diffusivity of the face.

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

◆ effectiveDiffusionCoefficient() [1/2]

template<class TypeTag >
const auto & Opm::BlackOilDiffusionExtensiveQuantities< TypeTag, true >::effectiveDiffusionCoefficient ( ) const
inline

◆ effectiveDiffusionCoefficient() [2/2]

template<class TypeTag >
const Evaluation & Opm::BlackOilDiffusionExtensiveQuantities< TypeTag, true >::effectiveDiffusionCoefficient ( unsigned  phaseIdx,
unsigned  compIdx 
) const
inline

The effective diffusion coeffcient of a component 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::BlackOilDiffusionExtensiveQuantities< TypeTag, true >::update ( EvaluationArray effectiveDiffusionCoefficient,
const IntensiveQuantities &  intQuantsInside,
const IntensiveQuantities &  intQuantsOutside 
)
inlinestatic

◆ update_()

template<class TypeTag >
void Opm::BlackOilDiffusionExtensiveQuantities< TypeTag, true >::update_ ( const ElementContext &  elemCtx,
unsigned  faceIdx,
unsigned  timeIdx 
)
inlineprotected

Update the quantities required to calculate the diffusive mass fluxes.

◆ updateBoundary_()

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

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