13#ifndef DUMUX_DISCRETIZTAION_PQ2_HH
14#define DUMUX_DISCRETIZTAION_PQ2_HH
19#include <dune/common/fvector.hh>
20#include <dune/geometry/multilineargeometry.hh>
25#include <dumux/common/typetraits/boundary_.hh>
53template<
class TypeTag>
54struct GridGeometry<TypeTag, TTag::PQ2HybridModel>
57 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
65template<
class TypeTag>
66struct GridVolumeVariables<TypeTag, TTag::PQ2HybridModel>
69 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
78template<
class TypeTag>
79struct FluxVariablesCache<TypeTag, TTag::PQ2HybridModel>
89template<
class TypeTag>
90struct GridFluxVariablesCache<TypeTag, TTag::PQ2HybridModel>
93 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
105template<
class TypeTag>
106struct ElementBoundaryTypes<TypeTag, TTag::PQ2HybridModel>
110 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
115 using type = std::conditional_t<
116 Dumux::Detail::hasProblemBoundaryTypesForIntersectionFunction<Problem, typename GG::LocalView, typename GG::GridView::Intersection>(),
126template<
class Problem>
130 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
134 using BoundaryTypes = Detail::BoundaryTypes<Problem, typename GG::LocalView, typename GG::GridView::Intersection>::type;
137template<
class TypeTag>
139 typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod,
143template<PQ2Hybr
idModel TypeTag>
Boundary flag to store e.g. in sub control volume faces.
This class stores an array of BoundaryTypes objects.
Definition: cvfe/elementboundarytypes.hh:28
The element-wise residual for control-volume finite element schemes.
Definition: cvfelocalresidual.hh:77
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
Flux variables cache class for control-volume finite element schemes. For control-volume finite eleme...
Definition: discretization/cvfe/hybrid/fluxvariablescache.hh:32
Flux variable caches implementation on a gridview.
Definition: discretization/cvfe/hybrid/gridfluxvariablescache.hh:51
Base class for the finite volume geometry vector for pq2 schemes This builds up the sub control volum...
Definition: discretization/pq2/fvgridgeometry.hh:135
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.
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.
Base class for the finite volume geometry vector for the pq2 method This builds up the sub control vo...
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.
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:30
CVFE< CVFEMethods::PQ2 > PQ2
Definition: method.hh:118
The energy balance equation for a porous solid.
Definition: common/properties.hh:26
typename Detail::DiscretizationDefaultLocalOperator< TypeTag >::type DiscretizationDefaultLocalOperator
Definition: defaultlocaloperator.hh:27
Definition: gridvariablescache.hh:31
GG GridGeometry
Definition: pq2.hh:132
Detail::BoundaryTypes< Problem, typename GG::LocalView, typename GG::GridView::Intersection >::type BoundaryTypes
Definition: pq2.hh:134
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::conditional_t< Dumux::Detail::hasProblemBoundaryTypesForIntersectionFunction< Problem, typename GG::LocalView, typename GG::GridView::Intersection >(), Dumux::ElementIntersectionBoundaryTypes< BoundaryTypes >, Dumux::CVFEElementBoundaryTypes< BoundaryTypes > > type
Definition: pq2.hh:119
std::tuple< FiniteVolumeModel > InheritsFrom
Definition: pq2.hh:49