14#ifndef DUMUX_DISCRETIZATION_FACECENTERED_DIAMOND_HH
15#define DUMUX_DISCRETIZATION_FACECENTERED_DIAMOND_HH
45template<
class TypeTag>
46struct GridGeometry<TypeTag, TTag::FaceCenteredDiamondModel>
49 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
56template<
class TypeTag>
57struct GridVolumeVariables<TypeTag, TTag::FaceCenteredDiamondModel>
60 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
69template<
class TypeTag>
70struct GridFluxVariablesCache<TypeTag, TTag::FaceCenteredDiamondModel>
73 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
85template<
class TypeTag>
86struct GridVariables<TypeTag, TTag::FaceCenteredDiamondModel>
97template<
class TypeTag>
98struct FluxVariablesCache<TypeTag, TTag::FaceCenteredDiamondModel>
108template<
class TypeTag>
109struct ElementBoundaryTypes<TypeTag, TTag::FaceCenteredDiamondModel>
122template<
class Problem>
126 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
127 using Element =
typename GG::GridView::template Codim<0>::Entity;
128 using SubControlVolumeFace =
typename GG::SubControlVolumeFace;
132 using BoundaryTypes = std::decay_t<decltype(std::declval<Problem>().boundaryTypes(std::declval<Element>(), std::declval<SubControlVolumeFace>()))>;
135template<
class TypeTag>
137 typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod,
141template<FaceCenteredDiamondModel TypeTag>
This class stores an array of BoundaryTypes objects.
Definition: cvfe/elementboundarytypes.hh:28
Flux variables cache class for control-volume finite element schemes. For control-volume finite eleme...
Definition: discretization/cvfe/fluxvariablescache.hh:30
Flux variable caches on a gridview.
Definition: discretization/cvfe/gridfluxvariablescache.hh:46
Base class for the grid volume variables.
Definition: cvfe/gridvolumevariables.hh:44
The element-wise residual for control-volume finite element schemes.
Definition: cvfelocalresidual.hh:63
The grid variable class for finite volume schemes storing variables on scv and scvf (volume and flux ...
Definition: discretization/fvgridvariables.hh:30
Grid geometry for the diamond discretization.
Definition: discretization/facecentered/diamond/fvgridgeometry.hh:76
Defines all properties used in Dumux.
Type traits for problem classes.
Definition: fcdiamond.hh:136
Boundary types gathered on an element.
The local element solution class for control-volume finite element methods.
The grid volume variables class for control-volume finite element methods.
Calculates the element-wise residual for control-volume finite element schemes.
The default local operator than can be specialized for each discretization scheme.
Flux variables cache class for control-volume finite element schemes.
Global flux variable cache.
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.
Definition: cvfelocalresidual.hh:28
CVFE< CVFEMethods::CR_RT > FCDiamond
Definition: method.hh:101
The energy balance equation for a porous solid.
Definition: common/properties.hh:26
typename Detail::DiscretizationDefaultLocalOperator< TypeTag >::type DiscretizationDefaultLocalOperator
Definition: defaultlocaloperator.hh:27
Definition: cvfe/gridvolumevariables.hh:31
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolumeFace >()))> BoundaryTypes
Definition: fcdiamond.hh:132
GG GridGeometry
Definition: fcdiamond.hh:130
Definition: common/typetraits/problem.hh:23
An empty flux variables cache.
Definition: fluxvariablescaching.hh:35
typename Detail::template ProblemTraits< Problem, typename GridGeometry::DiscretizationMethod >::BoundaryTypes BoundaryTypes
Definition: common/typetraits/problem.hh:34
Definition: fcdiamond.hh:41
std::tuple< FiniteVolumeModel > InheritsFrom
Definition: fcdiamond.hh:41