14#ifndef DUMUX_DISCRETIZATION_CC_TPFA_HH
15#define DUMUX_DISCRETIZATION_CC_TPFA_HH
49template<
class TypeTag>
50struct GridGeometry<TypeTag, TTag::CCTpfaModel>
53 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
60template<
class TypeTag>
61struct GridVolumeVariables<TypeTag, TTag::CCTpfaModel>
64 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
72template<
class TypeTag>
73struct GridFluxVariablesCache<TypeTag, TTag::CCTpfaModel>
76 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
91template<
class TypeTag>
98template<
class Problem>
102 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
103 using Element =
typename GG::GridView::template Codim<0>::Entity;
104 using SubControlVolumeFace =
typename GG::SubControlVolumeFace;
108 using BoundaryTypes = std::decay_t<decltype(std::declval<Problem>().boundaryTypes(std::declval<Element>(), std::declval<SubControlVolumeFace>()))>;
111template<
class TypeTag>
113 typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod,
114 DiscretizationMethods::CCTpfa
117template<CCTpfaModel TypeTag>
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:71
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
The element-wise residual for control-volume finite element schemes.
Definition: cvfelocalresidual.hh:60
Defines all properties used in Dumux.
Type traits for problem classes.
Definition: cctpfa.hh:112
The default local operator than can be specialized for each discretization scheme.
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.
typename Detail::DiscretizationDefaultLocalOperator< TypeTag >::type DiscretizationDefaultLocalOperator
Definition: defaultlocaloperator.hh:27
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolumeFace >()))> BoundaryTypes
Definition: cctpfa.hh:108
GG GridGeometry
Definition: cctpfa.hh:106
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:45