13#ifndef DUMUX_DISCRETIZATION_PQ3_HH
14#define DUMUX_DISCRETIZATION_PQ3_HH
23#include <dumux/common/typetraits/boundary_.hh>
25#include <dumux/assembly/cvfelocalresidual_.hh>
50template<
class TypeTag>
51struct GridGeometry<TypeTag,
TTag::PQ3HybridModel>
62template<
class TypeTag>
63struct GridVariables<TypeTag,
TTag::PQ3HybridModel>
67template<
class TypeTag>
68struct EnableGridGeometryCache<TypeTag,
TTag::PQ3HybridModel> {
static constexpr bool value =
false; };
71template<
class TypeTag>
72struct EnableGridVolumeVariablesCache<TypeTag,
TTag::PQ3HybridModel> {
static constexpr bool value =
false; };
75template<
class TypeTag>
76struct SolutionVector<TypeTag,
TTag::PQ3HybridModel> {
using type = Dune::BlockVector<GetPropType<TypeTag, Properties::PrimaryVariables>>; };
79template<
class TypeTag>
80struct JacobianMatrix<TypeTag,
TTag::PQ3HybridModel>
85 using MatrixBlock =
typename Dune::FieldMatrix<PrimaryVariable, numEq, numEq>;
90template<
class TypeTag>
91struct ElementBoundaryTypes<TypeTag,
TTag::PQ3Base>
98 using type = std::conditional_t<
99 Dumux::Detail::hasProblemBoundaryTypesForFaceFunction<Problem, typename GD::LocalView>(),
106template<
class TypeTag>
107struct GridGeometry<TypeTag,
TTag::PQ3FEModel>
117template<
class TypeTag>
118struct GridVariables<TypeTag,
TTag::PQ3FEModel>
122template<
class TypeTag>
123struct EnableGridVolumeVariablesCache<TypeTag,
TTag::PQ3FEModel> {
static constexpr bool value =
false; };
126template<
class TypeTag>
127struct SolutionVector<TypeTag,
TTag::PQ3FEModel> {
using type = Dune::BlockVector<GetPropType<TypeTag, Properties::PrimaryVariables>>; };
130template<
class TypeTag>
131struct JacobianMatrix<TypeTag,
TTag::PQ3FEModel>
136 using MatrixBlock =
typename Dune::FieldMatrix<PrimaryVariable, numEq, numEq>;
145template<
class Problem>
149 using GD = std::decay_t<decltype(std::declval<Problem>().gridDiscretization())>;
152 using BoundaryTypes = Detail::BoundaryTypes<Problem, typename GD::LocalView>::type;
155template<
class TypeTag>
164template<PQ3Hybr
idModel TypeTag>
166{
using type = Dumux::Experimental::CVFELocalResidual<TypeTag>; };
171template<PQ3FEModel TypeTag>
The element-wise residual for grid-based discretization schemes.
Boundary flag to store e.g. in sub control volume faces.
This class stores an array of BoundaryTypes objects.
Definition cvfe/elementboundarytypes.hh:29
This class stores an array of BoundaryTypes objects. This class is not dependent on the used discreti...
Definition elementboundarytypes.hh:30
The element-wise residual for grid-based discretization schemes.
Definition assembly/localresidual.hh:39
Class for pq3 finite element grid discretizations.
Definition pq3/fegriddiscretization.hh:87
Finite volume geometry for the pq3 hybrid CVFE scheme (order-3 Lagrange elements).
Definition discretization/pq3/fvgridgeometry.hh:159
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.
Grid variables with the variables cache selected depending on the element discretization.
The default local operator than can be specialized for each discretization scheme.
Base class for the finite volume geometry vector for the pq3 method This builds up the sub control vo...
Boundary types gathered on an element.
The element variables class.
Declares properties required for finite-volume models models.
GridVariables< GetPropType< TypeTag, Properties::GridGeometry >, DefaultGridVariablesCache< GetPropType< TypeTag, Properties::GridGeometry >, GetPropType< TypeTag, Properties::Problem >, Variables, getPropValue< TypeTag, Properties::EnableGridVolumeVariablesCache >() > > DefaultGridVariables
The grid variables of a model whose variables are defined per local degree of freedom.
Definition defaultgridvariables.hh:82
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
constexpr bool inheritsFrom()
Return true if the given type tag inherits from the given parent type tag.
Definition propertysystem.hh:262
The available discretization methods in Dumux.
Definition cvfelocalresidual.hh:25
CVFE< CVFEMethods::PQ3 > PQ3
Definition method.hh:138
Type tag for numeric models.
Definition grid.hh:24
The energy balance equation for a porous solid.
Definition common/properties.hh:26
Finite element grid discretization for the PQ3 method.
CCLocalResidual< TypeTag > type
Definition ccmpfa.hh:185
Definition defaultlocaloperator.hh:19
GD GridDiscretization
Definition pq3.hh:151
Detail::BoundaryTypes< Problem, typename GD::LocalView >::type BoundaryTypes
Definition pq3.hh:152
Definition common/typetraits/problem.hh:23
Detail::ProblemGridGeometry< Problem > GridDiscretization
Definition common/typetraits/problem.hh:51
typename Detail::template ProblemTraits< Problem, typename GridGeometry::DiscretizationMethod >::BoundaryTypes BoundaryTypes
Definition common/typetraits/problem.hh:52
std::conditional_t< Dumux::Detail::hasProblemBoundaryTypesForFaceFunction< Problem, typename GD::LocalView >(), Dumux::ElementIntersectionBoundaryTypes< BoundaryTypes >, Dumux::CVFEElementBoundaryTypes< BoundaryTypes > > type
Definition pq3.hh:98
static constexpr bool value
Definition pq3.hh:68
static constexpr bool value
Definition pq3.hh:123
static constexpr bool value
Definition pq3.hh:72
Dumux::Experimental::PQ3FEGridDiscretization< Scalar, GridView, enableCache > type
Definition pq3.hh:114
PQ3FVGridGeometry< Scalar, GridView, enableCache > type
Definition pq3.hh:58
Dumux::Experimental::DefaultGridVariables< TypeTag > type
Definition pq3.hh:119
Dumux::Experimental::DefaultGridVariables< TypeTag > type
Definition pq3.hh:64
typename Dune::BCRSMatrix< MatrixBlock > type
Definition pq3.hh:138
typename Dune::BCRSMatrix< MatrixBlock > type
Definition pq3.hh:87
Dune::BlockVector< GetPropType< TypeTag, Properties::PrimaryVariables > > type
Definition pq3.hh:127
Dune::BlockVector< GetPropType< TypeTag, Properties::PrimaryVariables > > type
Definition pq3.hh:76
std::tuple< GridProperties > InheritsFrom
Definition pq3.hh:45
std::tuple< PQ3Base > InheritsFrom
Definition pq3.hh:47
std::tuple< PQ3Base > InheritsFrom
Definition pq3.hh:46