15#ifndef DUMUX_DISCRETIZATION_FACECENTERED_PQ1NONCONFORMING_HH
16#define DUMUX_DISCRETIZATION_FACECENTERED_PQ1NONCONFORMING_HH
22#include <dumux/common/concepts/variables_.hh>
26#include <dumux/assembly/cvfelocalresidual_.hh>
34#include <dumux/common/typetraits/boundary_.hh>
59template<
class TypeTag>
60struct GridGeometry<TypeTag,
TTag::PQ1NonconformingFVModel>
70template<
class TypeTag>
71struct GridVolumeVariables<TypeTag,
TTag::PQ1NonconformingFVModel>
83template<
class TypeTag>
84struct GridFluxVariablesCache<TypeTag,
TTag::PQ1NonconformingFVModel>
99template<
class TypeTag>
100struct GridVariables<TypeTag,
TTag::PQ1NonconformingFVModel>
104template<
class TypeTag>
105struct FluxVariablesCache<TypeTag,
TTag::PQ1NonconformingFVModel>
115template<
class TypeTag>
116struct ElementBoundaryTypes<TypeTag,
TTag::PQ1NonconformingBase>
125 using type = std::conditional_t<
126 Dumux::Detail::hasProblemBoundaryTypesForFaceFunction<Problem, typename GG::LocalView>(),
133template<
class TypeTag>
134struct GridGeometry<TypeTag,
TTag::PQ1NonconformingFEModel>
144template<
class TypeTag>
145struct GridVariables<TypeTag,
TTag::PQ1NonconformingFEModel>
149template<
class TypeTag>
150struct EnableGridVolumeVariablesCache<TypeTag,
TTag::PQ1NonconformingFEModel> {
static constexpr bool value =
false; };
153template<
class TypeTag>
154struct SolutionVector<TypeTag,
TTag::PQ1NonconformingFEModel> {
using type = Dune::BlockVector<GetPropType<TypeTag, Properties::PrimaryVariables>>; };
157template<
class TypeTag>
158struct JacobianMatrix<TypeTag,
TTag::PQ1NonconformingFEModel>
163 using MatrixBlock =
typename Dune::FieldMatrix<Scalar, numEq, numEq>;
172template<
class Problem>
180 using BoundaryTypes = Detail::BoundaryTypes<Problem, typename GG::LocalView>::type;
183template<
class TypeTag>
190template<PQ1NonconformingFVModel TypeTag>
195 static constexpr bool usesGeneralGridVariables =
196 Dumux::Concept::GridVariables<GV> && !Dumux::Concept::FVGridVariables<GV>;
198 using type = std::conditional_t<usesGeneralGridVariables,
199 Dumux::Experimental::CVFELocalResidual<TypeTag>,
206template<PQ1NonconformingFEModel 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
Flux variables cache class for control-volume finite element schemes. For control-volume finite eleme...
Definition discretization/cvfe/fluxvariablescache.hh:34
Base class for the grid volume variables.
Definition cvfe/gridvolumevariables.hh:44
The element-wise residual for control-volume finite element schemes.
Definition cvfelocalresidual.hh:60
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
Grid geometry for the diamond discretization.
Definition discretization/facecentered/diamond/fvgridgeometry.hh:85
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 volume variables class for control-volume finite element methods.
Calculates the element-wise residual for control-volume finite element schemes.
Grid variables with the variables cache selected depending on the element discretization.
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.
Grid geometry for the diamond discretization.
Boundary types gathered on an element.
The element variables class.
Classes related to flux variables caching.
Declares properties required for finite-volume models models.
CVFEGridFluxVariablesCacheImpl< Problem, FluxVariablesCache, cachingEnabled, Traits, Detail::ScvfQuadratureRuleOrDefault_t< typename Traits::FluxVariablesCache > > CVFEGridFluxVariablesCache
Flux variable caches on a gridview.
Definition discretization/cvfe/gridfluxvariablescache.hh:59
typename CVFEGridVariables< TypeTag >::type CVFEGridVariables_t
The grid variables of a control-volume finite element type tag: Experimental::DefaultGridVariables if...
Definition defaultgridvariables.hh:137
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
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
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
typename ProblemGridGeometryHelper< Problem >::type ProblemGridGeometry
Definition common/typetraits/problem.hh:40
CVFE< CVFEMethods::CR_RT > PQ1Nonconforming
Definition method.hh:114
FEGridDiscretization< GV, Traits > PQ1NonconformingFEGridDiscretization
Finite element grid discretization for the PQ1 non-conforming (face-centered) method....
Definition pq1nonconforming/fegriddiscretization.hh:90
Type tag for numeric models.
Definition grid.hh:24
The energy balance equation for a porous solid.
Definition common/properties.hh:26
Definition cvfe/gridvolumevariables.hh:31
CCLocalResidual< TypeTag > type
Definition ccmpfa.hh:185
Definition defaultlocaloperator.hh:19
Definition common/typetraits/problem.hh:23
An empty flux variables cache.
Definition fluxvariablescaching.hh:35
Detail::ProblemGridGeometry< Problem > GridGeometry
Definition common/typetraits/problem.hh:50
typename Detail::template ProblemTraits< Problem, typename GridGeometry::DiscretizationMethod >::BoundaryTypes BoundaryTypes
Definition common/typetraits/problem.hh:52
static constexpr bool value
Definition pq1nonconforming.hh:150