Base class for the model specific class which provides access to all intensive (i.e., volume averaged) quantities. More...

#include <fvbaseintensivequantities.hh>

Public Member Functions

void update (const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx)
 Update all quantities for a given control volume. More...
 
Scalar extrusionFactor () const
 Return how much a given sub-control volume is extruded. More...
 
void checkDefined () const
 If running in valgrind this makes sure that all quantities in the intensive quantities are defined. More...
 

Static Public Member Functions

static void registerParameters ()
 Register all run-time parameters for the intensive quantities. More...
 

Protected Attributes

Scalar extrusionFactor_
 

Detailed Description

template<class TypeTag>
class Opm::FvBaseIntensiveQuantities< TypeTag >

Base class for the model specific class which provides access to all intensive (i.e., volume averaged) quantities.

Member Function Documentation

◆ checkDefined()

template<class TypeTag >
void Opm::FvBaseIntensiveQuantities< TypeTag >::checkDefined ( ) const
inline

If running in valgrind this makes sure that all quantities in the intensive quantities are defined.

◆ extrusionFactor()

template<class TypeTag >
Scalar Opm::FvBaseIntensiveQuantities< TypeTag >::extrusionFactor ( ) const
inline

Return how much a given sub-control volume is extruded.

This means the factor by which a lower-dimensional (1D or 2D) entity needs to be expanded to get a full dimensional cell. The default is 1.0 which means that 1D problems are actually thought as pipes with a cross section of 1 m^2 and 2D problems are assumed to extend 1 m to the back.

References Opm::FvBaseIntensiveQuantities< TypeTag >::extrusionFactor_.

◆ registerParameters()

template<class TypeTag >
static void Opm::FvBaseIntensiveQuantities< TypeTag >::registerParameters ( )
inlinestatic

Register all run-time parameters for the intensive quantities.

◆ update()

template<class TypeTag >
void Opm::FvBaseIntensiveQuantities< TypeTag >::update ( const ElementContext &  elemCtx,
unsigned  dofIdx,
unsigned  timeIdx 
)
inline

Update all quantities for a given control volume.

References Opm::FvBaseIntensiveQuantities< TypeTag >::extrusionFactor_.

Member Data Documentation

◆ extrusionFactor_

template<class TypeTag >
Scalar Opm::FvBaseIntensiveQuantities< TypeTag >::extrusionFactor_
protected

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