13#ifndef DUMUX_DISCRETIZTAION_BOX_HH
14#define DUMUX_DISCRETIZTAION_BOX_HH
19#include <dune/common/fvector.hh>
20#include <dune/geometry/multilineargeometry.hh>
50template<
class TypeTag>
51struct GridGeometry<TypeTag, TTag::BoxModel>
54 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
62template<
class TypeTag>
63struct GridVolumeVariables<TypeTag, TTag::BoxModel>
66 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
75template<
class TypeTag>
76struct GridFluxVariablesCache<TypeTag, TTag::BoxModel>
79 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
91template<
class TypeTag>
92struct FluxVariablesCache<TypeTag, TTag::BoxModel>
102template<
class TypeTag>
103struct ElementBoundaryTypes<TypeTag, TTag::BoxModel>
116template<
class Problem>
120 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
121 using Element =
typename GG::GridView::template Codim<0>::Entity;
122 using SubControlVolume =
typename GG::SubControlVolume;
126 using BoundaryTypes = std::decay_t<decltype(std::declval<Problem>().boundaryTypes(std::declval<Element>(), std::declval<SubControlVolume>()))>;
129template<
class TypeTag>
131 typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod,
135template<BoxModel TypeTag>
Boundary flag to store e.g. in sub control volume faces.
Base class for the finite volume geometry vector for box schemes This builds up the sub control volum...
Definition: discretization/box/fvgridgeometry.hh:74
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
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.
The default local operator than can be specialized for each discretization scheme.
Base class for the finite volume geometry vector for box models This builds up the sub control volume...
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::PQ1 > Box
Definition: method.hh:94
The energy balance equation for a porous solid.
Definition: common/properties.hh:26
Definition: cvfe/gridvolumevariables.hh:31
Definition: defaultlocaloperator.hh:19
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolume >()))> BoundaryTypes
Definition: box.hh:126
GG GridGeometry
Definition: box.hh:124
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
std::tuple< FiniteVolumeModel > InheritsFrom
Definition: box.hh:46