26#ifndef DUMUX_DISCRETIZATION_CC_TPFA_HH
27#define DUMUX_DISCRETIZATION_CC_TPFA_HH
55template<
class TypeTag>
59 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
66template<
class TypeTag>
70 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
78template<
class TypeTag>
82 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
91template<
class TypeTag>
95template<
class TypeTag>
101template<
class Problem>
105 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
106 using Element =
typename GG::GridView::template Codim<0>::Entity;
107 using SubControlVolumeFace =
typename GG::SubControlVolumeFace;
111 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.
Declares properties required for finite-volume models models.
The available discretization methods in Dumux.
Boundary flag to store e.g. in sub control volume faces.
DiscretizationMethod
The available discretization methods in Dumux.
Definition: method.hh:37
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:150
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:65
Stores the boundary types on an element.
Definition: common/properties.hh:95
Definition: common/properties.hh:98
The type for a global container for the volume variables.
Definition: common/properties.hh:105
The global vector of flux variable containers.
Definition: common/properties.hh:115
Definition: common/typetraits/problem.hh:35
std::tuple< FiniteVolumeModel > InheritsFrom
Definition: cctpfa.hh:51
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolumeFace >()))> BoundaryTypes
Definition: cctpfa.hh:111
GG GridGeometry
Definition: cctpfa.hh:109
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:80
Flux variable caches on a gridview.
Definition: discretization/cellcentered/tpfa/gridfluxvariablescache.hh:58
Base class for the grid volume variables.
Definition: cellcentered/tpfa/gridvolumevariables.hh:56
Boundary types gathered on an element.
The grid volume variables class for cell centered tpfa models.
Declares all properties used in Dumux.
Type traits for problem classes.
Flux variable caches on a gridview.
The finite volume geometry (scvs and scvfs) for cell-centered TPFA models on a grid view This builds ...
Sub control volumes for cell-centered discretization schemes.
The sub control volume face.