14#ifndef DUMUX_DISCRETIZATION_FACECENTERED_DIAMOND_HH
15#define DUMUX_DISCRETIZATION_FACECENTERED_DIAMOND_HH
42template<
class TypeTag>
43struct GridGeometry<TypeTag, TTag::FaceCenteredDiamondModel>
46 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
53template<
class TypeTag>
54struct GridVolumeVariables<TypeTag, TTag::FaceCenteredDiamondModel>
57 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
66template<
class TypeTag>
67struct GridFluxVariablesCache<TypeTag, TTag::FaceCenteredDiamondModel>
70 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
82template<
class TypeTag>
83struct GridVariables<TypeTag, TTag::FaceCenteredDiamondModel>
94template<
class TypeTag>
95struct BaseLocalResidual<TypeTag, TTag::FaceCenteredDiamondModel>
99template<
class TypeTag>
100struct FluxVariablesCache<TypeTag, TTag::FaceCenteredDiamondModel>
110template<
class TypeTag>
111struct ElementBoundaryTypes<TypeTag, TTag::FaceCenteredDiamondModel>
124template<
class Problem>
128 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
129 using Element =
typename GG::GridView::template Codim<0>::Entity;
130 using SubControlVolumeFace =
typename GG::SubControlVolumeFace;
134 using BoundaryTypes = std::decay_t<decltype(std::declval<Problem>().boundaryTypes(std::declval<Element>(), std::declval<SubControlVolumeFace>()))>;
137template<
class Gr
idView>
140 static constexpr int dim = GridView::dimension;
142 static constexpr int numCubeElementDofs = 2*dim;
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:27
Flux variable caches on a gridview.
Definition: discretization/cvfe/gridfluxvariablescache.hh:46
Base class for the grid volume variables.
Definition: cvfe/gridvolumevariables.hh:42
The element-wise residual for control-volume finite element schemes.
Definition: cvfelocalresidual.hh:60
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:74
Defines all properties used in Dumux.
Type traits for problem classes.
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.
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
Element-specific traits of grid geometries / discretization schemes.
The available discretization methods in Dumux.
Distance implementation details.
Definition: cvfelocalresidual.hh:25
CVFE< CVFEMethods::CR_RT > FCDiamond
Definition: method.hh:101
The energy balance equation for a porous solid.
Definition: common/properties.hh:26
Definition: cvfe/gridvolumevariables.hh:29
Definition: localdoftraits.hh:18
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolumeFace >()))> BoundaryTypes
Definition: fcdiamond.hh:134
GG GridGeometry
Definition: fcdiamond.hh:132
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:38
std::tuple< FiniteVolumeModel > InheritsFrom
Definition: fcdiamond.hh:38