14#ifndef DUMUX_DISCRETIZATION_CC_TPFA_HH
15#define DUMUX_DISCRETIZATION_CC_TPFA_HH
45template<
class TypeTag>
46struct GridGeometry<TypeTag, TTag::CCTpfaModel>
49 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
56template<
class TypeTag>
57struct GridVolumeVariables<TypeTag, TTag::CCTpfaModel>
60 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
68template<
class TypeTag>
69struct GridFluxVariablesCache<TypeTag, TTag::CCTpfaModel>
72 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
87template<
class TypeTag>
91template<
class TypeTag>
97template<
class Problem>
101 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
102 using Element =
typename GG::GridView::template Codim<0>::Entity;
103 using SubControlVolumeFace =
typename GG::SubControlVolumeFace;
107 using BoundaryTypes = std::decay_t<decltype(std::declval<Problem>().boundaryTypes(std::declval<Element>(), std::declval<SubControlVolumeFace>()))>;
Boundary flag to store e.g. in sub control volume faces.
Calculates the element-wise residual for cell-centered discretization schemes.
Boundary types gathered on an element.
The grid volume variables class for cell centered tpfa models.
Boundary types gathered on an element.
Definition: cellcentered/elementboundarytypes.hh:26
Calculates the element-wise residual for the cell-centered discretization schemes.
Definition: cclocalresidual.hh:31
The finite volume geometry (scvs and scvfs) for cell-centered TPFA models on a grid view This builds ...
Definition: discretization/cellcentered/tpfa/fvgridgeometry.hh:69
Flux variable caches on a gridview.
Definition: discretization/cellcentered/tpfa/gridfluxvariablescache.hh:48
Base class for the grid volume variables.
Definition: cellcentered/tpfa/gridvolumevariables.hh:44
Defines all properties used in Dumux.
Type traits for problem classes.
Sub control volumes for cell-centered discretization schemes.
The finite volume geometry (scvs and scvfs) for cell-centered TPFA models on a grid view This builds ...
Flux variable caches on a gridview.
The sub control volume face.
Classes related to flux variables caching.
Declares properties required for finite-volume models models.
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:296
typename GetPropOr< TypeTag, Property, T >::type GetPropTypeOr
get the type alias defined in the property or the type T if the property is undefined
Definition: propertysystem.hh:303
The available discretization methods in Dumux.
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolumeFace >()))> BoundaryTypes
Definition: cctpfa.hh:107
GG GridGeometry
Definition: cctpfa.hh:105
Definition: common/typetraits/problem.hh:23
The empty filler class corresponding to EmptyCache.
Definition: fluxvariablescaching.hh:20
An empty flux variables cache.
Definition: fluxvariablescaching.hh:35
std::tuple< FiniteVolumeModel > InheritsFrom
Definition: cctpfa.hh:41