13#ifndef DUMUX_DISCRETIZTAION_BOX_HH
14#define DUMUX_DISCRETIZTAION_BOX_HH
18#include <dune/common/fvector.hh>
19#include <dune/geometry/multilineargeometry.hh>
49template<
class TypeTag>
50struct GridGeometry<TypeTag,
TTag::BoxModel>
61template<
class TypeTag>
62struct GridVolumeVariables<TypeTag,
TTag::BoxModel>
74template<
class TypeTag>
75struct GridFluxVariablesCache<TypeTag,
TTag::BoxModel>
90template<
class TypeTag>
91struct FluxVariablesCache<TypeTag,
TTag::BoxModel>
101template<
class TypeTag>
102struct ElementBoundaryTypes<TypeTag,
TTag::BoxModel>
112template<
class TypeTag>
113struct BaseLocalResidual<TypeTag,
TTag::BoxModel>
120template<
class Problem>
124 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
125 using Element =
typename GG::GridView::template Codim<0>::Entity;
126 using SubControlVolume =
typename GG::SubControlVolume;
130 using BoundaryTypes = std::decay_t<decltype(std::declval<Problem>().boundaryTypes(std::declval<Element>(), std::declval<SubControlVolume>()))>;
133template<
class Gr
idView>
136 static constexpr int dim = GridView::dimension;
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:72
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
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.
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.
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
Element-specific traits of grid geometries / discretization schemes.
The available discretization methods in Dumux.
Definition boxgeometryhelper.hh:50
Distance implementation details.
Definition cvfelocalresidual.hh:25
Type tag for numeric models.
Definition grid.hh:24
The energy balance equation for a porous solid.
Definition common/properties.hh:26
Definition cvfe/gridvolumevariables.hh:29
static constexpr int numCubeElementDofs
Definition box.hh:138
static constexpr int dim
Definition box.hh:136
Definition localdoftraits.hh:18
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolume >()))> BoundaryTypes
Definition box.hh:130
GG GridGeometry
Definition box.hh:128
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
CVFELocalResidual< TypeTag > type
Definition box.hh:114
CVFEElementBoundaryTypes< BoundaryTypes > type
Definition box.hh:108
CVFEFluxVariablesCache< Scalar, GridGeometry > type
Definition box.hh:97
CVFEGridFluxVariablesCache< Problem, FluxVariablesCache, enableCache > type
Definition box.hh:86
BoxFVGridGeometry< Scalar, GridView, enableCache > type
Definition box.hh:57
CVFEGridVolumeVariables< Traits, enableCache > type
Definition box.hh:70
std::tuple< FiniteVolumeModel > InheritsFrom
Definition box.hh:45