14#ifndef DUMUX_DISCRETIZATION_FACECENTERED_DIAMOND_HH
15#define DUMUX_DISCRETIZATION_FACECENTERED_DIAMOND_HH
21#include <dumux/common/concepts/variables_.hh>
25#include <dumux/assembly/cvfelocalresidual_.hh>
50template<
class TypeTag>
51struct GridGeometry<TypeTag,
TTag::FaceCenteredDiamondModel>
61template<
class TypeTag>
62struct GridVolumeVariables<TypeTag,
TTag::FaceCenteredDiamondModel>
74template<
class TypeTag>
75struct GridFluxVariablesCache<TypeTag,
TTag::FaceCenteredDiamondModel>
90template<
class TypeTag>
91struct GridVariables<TypeTag,
TTag::FaceCenteredDiamondModel>
102template<
class TypeTag>
103struct FluxVariablesCache<TypeTag,
TTag::FaceCenteredDiamondModel>
113template<
class TypeTag>
114struct ElementBoundaryTypes<TypeTag,
TTag::FaceCenteredDiamondModel>
118 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
123 using type = std::conditional_t<
124 Dumux::Detail::hasProblemBoundaryTypesForFaceFunction<Problem, typename GG::LocalView>(),
134template<
class Problem>
138 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
142 using BoundaryTypes = Detail::BoundaryTypes<Problem, typename GG::LocalView>::type;
145template<
class TypeTag>
151template<FaceCenteredDiamondModel TypeTag>
156 static constexpr bool usesGeneralGridVariables =
157 Dumux::Concept::GridVariables<GV> && !Dumux::Concept::FVGridVariables<GV>;
159 using type = std::conditional_t<usesGeneralGridVariables,
160 Dumux::Experimental::CVFELocalResidual<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:34
The element-wise residual for control-volume finite element schemes.
Definition cvfelocalresidual.hh:60
Base class for the grid local variables.
Definition gridvariablescache.hh:44
A class for providing the new update interface of variables. This allows to still use the VolumesVari...
Definition variablesadapter.hh:36
This class stores an array of BoundaryTypes objects. This class is not dependent on the used discreti...
Definition elementboundarytypes.hh:30
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:84
Defines all properties used in Dumux.
Type traits for problem classes.
Definition fcdiamond.hh:146
Boundary types gathered on an element.
The local element solution 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.
Grid geometry for the diamond discretization.
The grid variable class for finite volume schemes, storing variables on scv and scvf (volume and flux...
Boundary types gathered on an element.
Classes related to flux variables caching.
Declares properties required for finite-volume models models.
The grid local variables class for control-volume finite element methods.
CVFEGridFluxVariablesCacheImpl< Problem, FluxVariablesCache, cachingEnabled, Traits, Detail::ScvfQuadratureRuleOrDefault_t< typename Traits::FluxVariablesCache > > CVFEGridFluxVariablesCache
Flux variable caches on a gridview.
Definition discretization/cvfe/gridfluxvariablescache.hh:58
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:310
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 discretization/facecentered/diamond/geometryhelper.hh:40
Definition cvfelocalresidual.hh:25
CVFE< CVFEMethods::CR_RT > FCDiamond
Definition method.hh:109
Type tag for numeric models.
Definition grid.hh:24
The energy balance equation for a porous solid.
Definition common/properties.hh:26
Definition gridvariablescache.hh:31
std::conditional_t< usesGeneralGridVariables, Dumux::Experimental::CVFELocalResidual< TypeTag >, Dumux::CVFELocalResidual< TypeTag > > type
Definition box.hh:152
Definition defaultlocaloperator.hh:19
GG GridGeometry
Definition fcdiamond.hh:140
Detail::BoundaryTypes< Problem, typename GG::LocalView >::type BoundaryTypes
Definition fcdiamond.hh:142
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:51
std::conditional_t< Dumux::Detail::hasProblemBoundaryTypesForFaceFunction< Problem, typename GG::LocalView >(), Dumux::ElementIntersectionBoundaryTypes< BoundaryTypes >, Dumux::CVFEElementBoundaryTypes< BoundaryTypes > > type
Definition fcdiamond.hh:123
CVFEFluxVariablesCache< S, GG > type
Definition fcdiamond.hh:109
CVFEGridFluxVariablesCache< Problem, FluxVariablesCache, enableCache > type
Definition fcdiamond.hh:86
FaceCenteredDiamondFVGridGeometry< GridView, enableCache > type
Definition fcdiamond.hh:57
FVGridVariables< GG, GVV, GFVC > type
Definition fcdiamond.hh:98
Dumux::Detail::CVFE::CVFEGridVariablesCache< Traits, enableCache > type
Definition fcdiamond.hh:70
Definition fcdiamond.hh:46
std::tuple< FiniteVolumeModel > InheritsFrom
Definition fcdiamond.hh:46