28 #ifndef EWOMS_NCP_EXTENSIVE_QUANTITIES_HH 29 #define EWOMS_NCP_EXTENSIVE_QUANTITIES_HH 44 template <
class TypeTag>
55 enum { enableDiffusion = getPropValue<TypeTag, Properties::EnableDiffusion>() };
58 enum { enableEnergy = getPropValue<TypeTag, Properties::EnableEnergy>() };
65 void update(
const ElementContext& elemCtx,
unsigned scvfIdx,
unsigned timeIdx)
68 DiffusionExtensiveQuantities::update_(elemCtx, scvfIdx, timeIdx);
69 EnergyExtensiveQuantities::update_(elemCtx, scvfIdx, timeIdx);
75 template <
class Context,
class Flu
idState>
79 const FluidState& fluidState)
82 DiffusionExtensiveQuantities::updateBoundary_(context, bfIdx, timeIdx, fluidState);
83 EnergyExtensiveQuantities::updateBoundary_(context, bfIdx, timeIdx, fluidState);
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(...))
Definition: propertysystem.hh:233
Provides the quantities required to calculate energy fluxes.
Definition: energymodule.hh:700
Contains the classes required to consider energy as a conservation quantity in a multi-phase module...
This template class represents the extensive quantities of the compositional NCP model.
Definition: ncpextensivequantities.hh:45
void updateBoundary(const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState)
Update the extensive quantities for a given boundary face.
Definition: multiphasebaseextensivequantities.hh:114
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45
void update(const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
Update the extensive quantities for a given sub-control-volume-face.
Definition: multiphasebaseextensivequantities.hh:80
This class calculates the pressure potential gradients and the filter velocities for multi-phase flow...
Definition: multiphasebaseextensivequantities.hh:50
This class calculates the pressure potential gradients and the filter velocities for multi-phase flow...
void update(const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
Update the extensive quantities for a given sub-control-volume-face.
Definition: ncpextensivequantities.hh:65
void updateBoundary(const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState)
Update the extensive quantities for a given boundary face.
Definition: ncpextensivequantities.hh:76
Classes required for molecular diffusion.
Provides the quantities required to calculate diffusive mass fluxes.
Definition: diffusionmodule.hh:290