All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Ewoms::PvsExtensiveQuantities< TypeTag > Class Template Reference

Contains all data which is required to calculate all fluxes at a flux integration point for the primary variable switching model. More...

#include <pvsextensivequantities.hh>

Inheritance diagram for Ewoms::PvsExtensiveQuantities< TypeTag >:
Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag > Ewoms::EnergyExtensiveQuantities< TypeTag, GET_PROP_VALUE(TypeTag, EnableEnergy)> Ewoms::DiffusionExtensiveQuantities< TypeTag, GET_PROP_VALUE(TypeTag, EnableDiffusion)>

Public Member Functions

void update (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
 Update the extensive quantities for a given sub-control-volume-face. More...
 
template<class Context , class FluidState >
void updateBoundary (const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState, typename FluidSystem::template ParameterCache< typename FluidState::Scalar > &paramCache)
 Update the extensive quantities for a given boundary face. More...
 
- Public Member Functions inherited from Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >
void update (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
 Update the extensive quantities for a given sub-control-volume-face. More...
 
template<class Context , class FluidState >
void updateBoundary (const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState, typename FluidSystem::template ParameterCache< typename FluidState::Scalar > &paramCache)
 Update the extensive quantities for a given boundary face. More...
 
short upstreamIndex (unsigned phaseIdx) const
 Return the local index of the upstream control volume for a given phase as a function of the normal flux. More...
 
short downstreamIndex (unsigned phaseIdx) const
 Return the local index of the downstream control volume for a given phase as a function of the normal flux. More...
 
Scalar upstreamWeight (unsigned phaseIdx OPM_UNUSED) const
 Return the weight of the upstream control volume for a given phase as a function of the normal flux. More...
 
Scalar downstreamWeight (unsigned phaseIdx) const
 Return the weight of the downstream control volume for a given phase as a function of the normal flux. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Ewoms::MultiPhaseBaseExtensiveQuantities< TypeTag >
static void registerParameters ()
 Register all run-time parameters for the extensive quantities.
 

Detailed Description

template<class TypeTag>
class Ewoms::PvsExtensiveQuantities< TypeTag >

Contains all data which is required to calculate all fluxes at a flux integration point for the primary variable switching model.

This means pressure and concentration gradients, phase densities at the integration point, etc.

Member Function Documentation

template<class TypeTag >
void Ewoms::PvsExtensiveQuantities< TypeTag >::update ( const ElementContext &  elemCtx,
unsigned  scvfIdx,
unsigned  timeIdx 
)
inline

Update the extensive quantities for a given sub-control-volume-face.

Parameters
elemCtxReference to the current element context.
scvfIdxThe local index of the sub-control-volume face for which the extensive quantities should be calculated.
timeIdxThe index used by the time discretization.
template<class TypeTag >
template<class Context , class FluidState >
void Ewoms::PvsExtensiveQuantities< TypeTag >::updateBoundary ( const Context &  context,
unsigned  bfIdx,
unsigned  timeIdx,
const FluidState &  fluidState,
typename FluidSystem::template ParameterCache< typename FluidState::Scalar > &  paramCache 
)
inline

Update the extensive quantities for a given boundary face.

Parameters
contextReference to the current execution context.
bfIdxThe local index of the boundary face for which the extensive quantities should be calculated.
timeIdxThe index used by the time discretization.
fluidStateThe FluidState on the domain boundary.
paramCacheThe FluidSystem's parameter cache.

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