28#ifndef EWOMS_FV_BASE_INTENSIVE_QUANTITIES_HH
29#define EWOMS_FV_BASE_INTENSIVE_QUANTITIES_HH
33#include <opm/material/common/Valgrind.hpp>
43template <
class TypeTag>
60 void update(
const ElementContext& elemCtx,
63 { extrusionFactor_ = elemCtx.problem().extrusionFactor(elemCtx, dofIdx, timeIdx); }
75 {
return extrusionFactor_; }
84 Scalar extrusionFactor_;
86 const Implementation& asImp_()
const
87 {
return *
static_cast<const Implementation*
>(
this); }
88 Implementation& asImp_()
89 {
return *
static_cast<Implementation*
>(
this); }
Base class for the model specific class which provides access to all intensive (i....
Definition fvbaseintensivequantities.hh:45
void checkDefined() const
If running in valgrind this makes sure that all quantities in the intensive quantities are defined.
Definition fvbaseintensivequantities.hh:81
Scalar extrusionFactor() const
Return how much a given sub-control volume is extruded.
Definition fvbaseintensivequantities.hh:74
void update(const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx)
Update all quantities for a given control volume.
Definition fvbaseintensivequantities.hh:60
static void registerParameters()
Register all run-time parameters for the intensive quantities.
Definition fvbaseintensivequantities.hh:54
Declare the properties used by the infrastructure code of the finite volume discretizations.
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
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:235