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>
54template<
class TypeTag>
55struct GridGeometry<TypeTag,
TTag::PQ3HybridModel>
66template<
class TypeTag>
67struct GridVariables<TypeTag,
TTag::PQ3HybridModel>
83template<
class TypeTag>
84struct EnableGridGeometryCache<TypeTag,
TTag::PQ3HybridModel> {
static constexpr bool value =
false; };
87template<
class TypeTag>
88struct EnableGridVolumeVariablesCache<TypeTag,
TTag::PQ3HybridModel> {
static constexpr bool value =
false; };
91template<
class TypeTag>
92struct SolutionVector<TypeTag,
TTag::PQ3HybridModel> {
using type = Dune::BlockVector<GetPropType<TypeTag, Properties::PrimaryVariables>>; };
95template<
class TypeTag>
96struct JacobianMatrix<TypeTag,
TTag::PQ3HybridModel>
101 using MatrixBlock =
typename Dune::FieldMatrix<Scalar, numEq, numEq>;
106template<
class TypeTag>
107struct ElementBoundaryTypes<TypeTag,
TTag::PQ3Base>
114 using type = std::conditional_t<
115 Dumux::Detail::hasProblemBoundaryTypesForFaceFunction<Problem, typename GD::LocalView>(),
122template<
class TypeTag>
123struct GridGeometry<TypeTag,
TTag::PQ3FEModel>
133template<
class TypeTag>
134struct GridVariables<TypeTag,
TTag::PQ3FEModel>
149template<
class TypeTag>
150struct EnableGridVolumeVariablesCache<TypeTag,
TTag::PQ3FEModel> {
static constexpr bool value =
false; };
153template<
class TypeTag>
154struct SolutionVector<TypeTag,
TTag::PQ3FEModel> {
using type = Dune::BlockVector<GetPropType<TypeTag, Properties::PrimaryVariables>>; };
157template<
class TypeTag>
158struct JacobianMatrix<TypeTag,
TTag::PQ3FEModel>
163 using MatrixBlock =
typename Dune::FieldMatrix<Scalar, numEq, numEq>;
172template<
class Problem>
176 using GD = std::decay_t<decltype(std::declval<Problem>().gridDiscretization())>;
179 using BoundaryTypes = Detail::BoundaryTypes<Problem, typename GD::LocalView>::type;
182template<
class TypeTag>
191template<PQ3Hybr
idModel TypeTag>
193{
using type = Dumux::Experimental::CVFELocalResidual<TypeTag>; };
198template<PQ3FEModel TypeTag>
The element-wise residual for grid-based discretization schemes.
Boundary flag to store e.g. in sub control volume faces.
Interpolation point data related to a local basis.
Definition cvfe/interpolationpointdata.hh:161
This class stores an array of BoundaryTypes objects.
Definition cvfe/elementboundarytypes.hh:29
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
The grid variables cache class for hybrid control-volume finite element methods.
Definition cvfe/hybrid/gridvariablescache.hh:49
Base class for the grid local variables.
Definition fem/gridvariablescache.hh:50
The grid variables class for general schemes, storing variables and data.
Definition discretization/gridvariables.hh:27
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:84
Finite volume geometry for the pq3 hybrid CVFE scheme (order-3 Lagrange elements).
Definition discretization/pq3/fvgridgeometry.hh:157
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.
The grid variables cache class for hybrid control-volume finite element methods.
Classes representing interpolation point data for control-volume finite element schemes.
The default local operator than can be specialized for each discretization scheme.
The grid variables class for general schemes, storing variables and data.
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.
The grid local variables class for finite element methods.
Declares properties required for finite-volume models models.
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:178
Detail::BoundaryTypes< Problem, typename GD::LocalView >::type BoundaryTypes
Definition pq3.hh:179
Definition common/typetraits/problem.hh:23
Definition cvfe/hybrid/gridvariablescache.hh:35
Definition fem/gridvariablescache.hh:36
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:114
static constexpr bool value
Definition pq3.hh:84
static constexpr bool value
Definition pq3.hh:150
static constexpr bool value
Definition pq3.hh:88
Dumux::Experimental::PQ3FEGridDiscretization< Scalar, GridView, enableCache > type
Definition pq3.hh:130
PQ3FVGridGeometry< Scalar, GridView, enableCache > type
Definition pq3.hh:62
Dumux::Experimental::GridVariables< GG, GVC > type
Definition pq3.hh:145
Dumux::Experimental::GridVariables< GG, GVC > type
Definition pq3.hh:79
typename Dune::BCRSMatrix< MatrixBlock > type
Definition pq3.hh:165
typename Dune::BCRSMatrix< MatrixBlock > type
Definition pq3.hh:103
Dune::BlockVector< GetPropType< TypeTag, Properties::PrimaryVariables > > type
Definition pq3.hh:154
Dune::BlockVector< GetPropType< TypeTag, Properties::PrimaryVariables > > type
Definition pq3.hh:92
std::tuple< GridProperties > InheritsFrom
Definition pq3.hh:49
std::tuple< PQ3Base > InheritsFrom
Definition pq3.hh:51
std::tuple< PQ3Base > InheritsFrom
Definition pq3.hh:50