25#ifndef DUMUX_DISCRETIZTAION_BOX_HH
26#define DUMUX_DISCRETIZTAION_BOX_HH
30#include <dune/common/fvector.hh>
31#include <dune/geometry/multilineargeometry.hh>
58template<
class TypeTag>
70template<
class TypeTag>
82template<
class TypeTag>
94template<
class TypeTag>
105template<
class TypeTag>
112template<
class Problem>
116 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
117 using Element =
typename GG::GridView::template Codim<0>::Entity;
118 using SubControlVolume =
typename GG::SubControlVolume;
122 using BoundaryTypes = std::decay_t<decltype(std::declval<Problem>().boundaryTypes(std::declval<Element>(), std::declval<SubControlVolume>()))>;
Calculates the element-wise residual for the box scheme.
Boundary flag to store e.g. in sub control volume faces.
The available discretization methods in Dumux.
Declares properties required for finite-volume models models.
DiscretizationMethod
The available discretization methods in Dumux.
Definition method.hh:37
@ box
Definition method.hh:38
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:154
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property
Definition propertysystem.hh:150
Definition gridcapabilities.hh:60
Definition common/properties.hh:37
Type tag for numeric models.
Definition grid.hh:36
The element-wise residual for the box scheme.
Definition boxlocalresidual.hh:46
The type of the base class of the local residual (specific to a discretization scheme).
Definition common/properties.hh:65
Stores the boundary types on an element.
Definition common/properties.hh:95
Definition common/properties.hh:98
The type for a global container for the volume variables.
Definition common/properties.hh:105
The global vector of flux variable containers.
Definition common/properties.hh:115
Definition common/typetraits/problem.hh:35
typename Detail::template ProblemTraits< Problem, GridGeometry::discMethod >::BoundaryTypes BoundaryTypes
Definition common/typetraits/problem.hh:46
std::tuple< FiniteVolumeModel > InheritsFrom
Definition box.hh:54
BoxFVGridGeometry< Scalar, GridView, enableCache > type
Definition box.hh:66
BoxGridVolumeVariables< Problem, VolumeVariables, enableCache > type
Definition box.hh:78
BoxGridFluxVariablesCache< Problem, FluxVariablesCache, enableCache > type
Definition box.hh:90
BoxElementBoundaryTypes< BoundaryTypes > type
Definition box.hh:101
BoxLocalResidual< TypeTag > type
Definition box.hh:106
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolume >()))> BoundaryTypes
Definition box.hh:122
GG GridGeometry
Definition box.hh:120
This class stores an array of BoundaryTypes objects.
Definition box/elementboundarytypes.hh:39
Base class for the finite volume geometry vector for box schemes This builds up the sub control volum...
Definition discretization/box/fvgridgeometry.hh:72
Flux variable caches on a gridview.
Definition discretization/box/gridfluxvariablescache.hh:56
Base class for the grid volume variables.
Definition box/gridvolumevariables.hh:54
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.