26#ifndef DUMUX_DISCRETIZATION_FACECENTERED_DIAMOND_HH
27#define DUMUX_DISCRETIZATION_FACECENTERED_DIAMOND_HH
52template<
class TypeTag>
56 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
63template<
class TypeTag>
67 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
76template<
class TypeTag>
80 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
92template<
class TypeTag>
104template<
class TypeTag>
109template<
class TypeTag>
120template<
class TypeTag>
134template<
class Problem>
138 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
139 using Element =
typename GG::GridView::template Codim<0>::Entity;
140 using SubControlVolumeFace =
typename GG::SubControlVolumeFace;
144 using BoundaryTypes = std::decay_t<decltype(std::declval<Problem>().boundaryTypes(std::declval<Element>(), std::declval<SubControlVolumeFace>()))>;
Classes related to flux variables caching.
Calculates the element-wise residual for control-volume finite element schemes.
The available discretization methods in Dumux.
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: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
Distance implementation details.
Definition: cvfelocalresidual.hh:37
Definition: common/properties.hh:37
CVFE< CVFEMethods::CR_RT > FCDiamond
Definition: method.hh:90
The element-wise residual for control-volume finite element schemes.
Definition: cvfelocalresidual.hh:72
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 global vector of flux variable containers.
Definition: common/properties.hh:117
The grid variables object managing variable data on the grid (volvars/fluxvars cache)
Definition: common/properties.hh:121
Definition: common/typetraits/problem.hh:35
typename Detail::template ProblemTraits< Problem, typename GridGeometry::DiscretizationMethod >::BoundaryTypes BoundaryTypes
Definition: common/typetraits/problem.hh:46
This class stores an array of BoundaryTypes objects.
Definition: cvfe/elementboundarytypes.hh:40
Flux variables cache class for control-volume finite element schemes. For control-volume finite eleme...
Definition: discretization/cvfe/fluxvariablescache.hh:39
Flux variable caches on a gridview.
Definition: discretization/cvfe/gridfluxvariablescache.hh:58
Definition: cvfe/gridvolumevariables.hh:41
Base class for the grid volume variables.
Definition: cvfe/gridvolumevariables.hh:54
Grid geometry for the diamond discretization.
Definition: discretization/facecentered/diamond/fvgridgeometry.hh:77
Definition: fcdiamond.hh:48
std::tuple< FiniteVolumeModel > InheritsFrom
Definition: fcdiamond.hh:48
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolumeFace >()))> BoundaryTypes
Definition: fcdiamond.hh:144
GG GridGeometry
Definition: fcdiamond.hh:142
The grid variable class for finite volume schemes storing variables on scv and scvf (volume and flux ...
Definition: discretization/fvgridvariables.hh:42
An empty flux variables cache.
Definition: fluxvariablescaching.hh:47
Type traits for problem classes.
Boundary types gathered on an element.
The grid volume variables class for box models.
Declares all properties used in Dumux.
Global flux variable cache.
Flux variables cache class for control-volume finite element schemes.