13#ifndef DUMUX_DISCRETIZTAION_PQ1BUBBLE_HH
14#define DUMUX_DISCRETIZTAION_PQ1BUBBLE_HH
19#include <dune/common/fvector.hh>
20#include <dune/geometry/multilineargeometry.hh>
25#include <dumux/common/typetraits/boundary_.hh>
57template<
class TypeTag>
58struct GridGeometry<TypeTag, TTag::PQ1BubbleModel>
61 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
69template<
class TypeTag>
70struct GridGeometry<TypeTag, TTag::PQ1BubbleHybridModel>
73 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridGeometryCache>();
79 static constexpr std::size_t numCubeBubbles = 2;
86template<
class TypeTag>
87struct GridVolumeVariables<TypeTag, TTag::PQ1BubbleBase>
90 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
99template<
class TypeTag>
100struct FluxVariablesCache<TypeTag, TTag::PQ1BubbleModel>
110template<
class TypeTag>
111struct GridFluxVariablesCache<TypeTag, TTag::PQ1BubbleModel>
114 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
126template<
class TypeTag>
127struct FluxVariablesCache<TypeTag, TTag::PQ1BubbleHybridModel>
137template<
class TypeTag>
138struct GridFluxVariablesCache<TypeTag, TTag::PQ1BubbleHybridModel>
141 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
153template<
class TypeTag>
154struct ElementBoundaryTypes<TypeTag, TTag::PQ1BubbleBase>
158 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
163 using type = std::conditional_t<
164 Dumux::Detail::hasProblemBoundaryTypesForIntersectionFunction<Problem, typename GG::LocalView, typename GG::GridView::Intersection>(),
174template<
class Problem>
178 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
182 using BoundaryTypes = Detail::BoundaryTypes<Problem, typename GG::LocalView, typename GG::GridView::Intersection>::type;
185template<
class TypeTag>
187 typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod,
191template<PQ1BubbleModel 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
Flux variables cache class for control-volume finite element schemes. For control-volume finite eleme...
Definition: discretization/cvfe/fluxvariablescache.hh:34
Flux variable caches implementation on a gridview.
Definition: discretization/cvfe/gridfluxvariablescache.hh:48
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 pq1bubble schemes This builds up the sub control...
Definition: discretization/pq1bubble/fvgridgeometry.hh:142
Defines all properties used in Dumux.
Type traits for problem classes.
Definition: pq1bubble.hh:186
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.
Flux variables cache class for control-volume finite element schemes.
Global flux variable cache.
Base class for the finite volume geometry vector for the pq1bubble method This builds up the sub cont...
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::PQ1Bubble > PQ1Bubble
Definition: method.hh:112
The energy balance equation for a porous solid.
Definition: common/properties.hh:26
typename Detail::DiscretizationDefaultLocalOperator< TypeTag >::type DiscretizationDefaultLocalOperator
Definition: defaultlocaloperator.hh:27
Quadrature rule traits for discretization schemes.
Definition: quadraturerules.hh:84
Definition: gridvariablescache.hh:31
GG GridGeometry
Definition: pq1bubble.hh:180
Detail::BoundaryTypes< Problem, typename GG::LocalView, typename GG::GridView::Intersection >::type BoundaryTypes
Definition: pq1bubble.hh:182
Definition: common/typetraits/problem.hh:23
An empty flux variables cache.
Definition: fluxvariablescaching.hh:35
The default traits for the hybrid pq1bubble finite volume grid geometry Defines the scv and scvf type...
Definition: discretization/pq1bubble/fvgridgeometry.hh:128
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: pq1bubble.hh:167
Definition: pq1bubble.hh:51
std::tuple< FiniteVolumeModel > InheritsFrom
Definition: pq1bubble.hh:51
Definition: pq1bubble.hh:53
std::tuple< PQ1BubbleBase > InheritsFrom
Definition: pq1bubble.hh:53
Definition: pq1bubble.hh:52
std::tuple< PQ1BubbleBase > InheritsFrom
Definition: pq1bubble.hh:52