25#ifndef DUMUX_DISCRETIZTAION_BOX_HH
26#define DUMUX_DISCRETIZTAION_BOX_HH
30#include <dune/common/fvector.hh>
31#include <dune/geometry/multilineargeometry.hh>
60template<
class TypeTag>
64 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
72template<
class TypeTag>
76 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
85template<
class TypeTag>
89 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
101template<
class TypeTag>
112template<
class TypeTag>
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>()))>;
Calculates the element-wise residual for control-volume finite element schemes.
Boundary flag to store e.g. in sub control volume faces.
Declares properties required for finite-volume models models.
The available discretization methods in Dumux.
Classes related to flux variables caching.
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:180
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:184
CVFE< CVFEMethods::PQ1 > Box
Definition: method.hh:83
The element-wise residual for control-volume finite element schemes.
Definition: cvfelocalresidual.hh:72
The type of the base class of the local residual (specific to a discretization scheme)
Definition: common/properties.hh:63
Stores the boundary types on an element.
Definition: common/properties.hh:97
Definition: common/properties.hh:100
The type for a global container for the volume variables.
Definition: common/properties.hh:107
Stores data associated with flux vars.
Definition: common/properties.hh:113
The global vector of flux variable containers.
Definition: common/properties.hh:117
Definition: common/typetraits/problem.hh:35
typename Detail::template ProblemTraits< Problem, typename GridGeometry::DiscretizationMethod >::BoundaryTypes BoundaryTypes
Definition: common/typetraits/problem.hh:46
std::tuple< FiniteVolumeModel > InheritsFrom
Definition: box.hh:56
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
Base class for the finite volume geometry vector for box schemes This builds up the sub control volum...
Definition: discretization/box/fvgridgeometry.hh:75
This class stores an array of BoundaryTypes objects.
Definition: cvfe/elementboundarytypes.hh:40
Flux variable caches on a gridview.
Definition: discretization/cvfe/gridfluxvariablescache.hh:58
Definition: cvfe/gridvolumevariables.hh:41
Base class for the grid volume variables.
Definition: cvfe/gridvolumevariables.hh:54
An empty flux variables cache.
Definition: fluxvariablescaching.hh:47
Declares all properties used in Dumux.
Type traits for problem classes.
Boundary types gathered on an element.
The local element solution class for the box method.
Base class for the finite volume geometry vector for box models This builds up the sub control volume...
Global flux variable cache.
The grid volume variables class for box models.