26#ifndef DUMUX_DISCRETIZATION_CC_TPFA_HH
27#define DUMUX_DISCRETIZATION_CC_TPFA_HH
57template<
class TypeTag>
61 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
68template<
class TypeTag>
72 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
80template<
class TypeTag>
84 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
99template<
class TypeTag>
103template<
class TypeTag>
109template<
class Problem>
113 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
114 using Element =
typename GG::GridView::template Codim<0>::Entity;
115 using SubControlVolumeFace =
typename GG::SubControlVolumeFace;
119 using BoundaryTypes = std::decay_t<decltype(std::declval<Problem>().boundaryTypes(std::declval<Element>(), std::declval<SubControlVolumeFace>()))>;
Calculates the element-wise residual for cell-centered discretization schemes.
Boundary flag to store e.g. in sub control volume faces.
Declares properties required for finite-volume models models.
The available discretization methods in Dumux.
Classes related to flux variables caching.
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:180
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:184
Calculates the element-wise residual for the cell-centered discretization schemes.
Definition: cclocalresidual.hh:43
The type of the base class of the local residual (specific to a discretization scheme)
Definition: common/properties.hh:63
Stores the boundary types on an element.
Definition: common/properties.hh:97
Definition: common/properties.hh:100
The type for a global container for the volume variables.
Definition: common/properties.hh:107
Stores data associated with flux vars.
Definition: common/properties.hh:113
The engine behind the global flux cache (how to fill caches for the stencil)
Definition: common/properties.hh:115
The global vector of flux variable containers.
Definition: common/properties.hh:117
Definition: common/typetraits/problem.hh:35
std::tuple< FiniteVolumeModel > InheritsFrom
Definition: cctpfa.hh:53
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolumeFace >()))> BoundaryTypes
Definition: cctpfa.hh:119
GG GridGeometry
Definition: cctpfa.hh:117
Boundary types gathered on an element.
Definition: cellcentered/elementboundarytypes.hh:38
The finite volume geometry (scvs and scvfs) for cell-centered TPFA models on a grid view This builds ...
Definition: discretization/cellcentered/tpfa/fvgridgeometry.hh:81
Flux variable caches on a gridview.
Definition: discretization/cellcentered/tpfa/gridfluxvariablescache.hh:60
Base class for the grid volume variables.
Definition: cellcentered/tpfa/gridvolumevariables.hh:56
The empty filler class corresponding to EmptyCache.
Definition: fluxvariablescaching.hh:32
An empty flux variables cache.
Definition: fluxvariablescaching.hh:47
Declares all properties used in Dumux.
Type traits for problem classes.
Boundary types gathered on an element.
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 grid volume variables class for cell centered tpfa models.
Sub control volumes for cell-centered discretization schemes.
The sub control volume face.