25#ifndef DUMUX_DISCRETIZATION_CC_MPFA_HH
26#define DUMUX_DISCRETIZATION_CC_MPFA_HH
28#include <dune/common/reservedvector.hh>
63template<
class TypeTag>
75template<
class TypeTag>
89template<
class TypeTag>
103template<
class TypeTag>
117template<
class TypeTag>
121 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
129template<
class TypeTag>
133 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
148 using PrimaryMatVecTraits =
typename PrimaryInteractionVolume::Traits::MatVecTraits;
149 using SecondaryMatVecTraits =
typename SecondaryInteractionVolume::Traits::MatVecTraits;
155 FluxVariablesCache, FluxVariablesCacheFiller,
156 PrimaryInteractionVolume, SecondaryInteractionVolume,
163template<
class TypeTag>
167template<
class TypeTag>
173template<
class Problem>
177 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
178 using Element =
typename GG::GridView::template Codim<0>::Entity;
179 using SubControlVolumeFace =
typename GG::SubControlVolumeFace;
183 using BoundaryTypes = std::decay_t<decltype(std::declval<Problem>().boundaryTypes(std::declval<Element>(), std::declval<SubControlVolumeFace>()))>;
Calculates the element-wise residual for cell-centered discretization schemes.
Defines the default element and vertex mapper types.
Data handle class for interaction volumes of mpfa methods. This class is passed to interaction volume...
The available mpfa schemes in Dumux.
Class for the index sets of the dual grid in mpfa schemes.
Declares properties required for finite-volume models models.
Classes related to flux variables caching.
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:180
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:184
Calculates the element-wise residual for the cell-centered discretization schemes.
Definition: cclocalresidual.hh:43
The type of the base class of the local residual (specific to a discretization scheme)
Definition: common/properties.hh:63
Stores the boundary types on an element.
Definition: common/properties.hh:97
Definition: common/properties.hh:100
The type for a global container for the volume variables.
Definition: common/properties.hh:107
Stores data associated with flux vars.
Definition: common/properties.hh:113
The engine behind the global flux cache (how to fill caches for the stencil)
Definition: common/properties.hh:115
The global vector of flux variable containers.
Definition: common/properties.hh:117
The primary interaction volume type.
Definition: common/properties.hh:127
The secondary interaction volume type used e.g. on the boundaries.
Definition: common/properties.hh:129
The type used for the nodal index sets of the dual grid.
Definition: common/properties.hh:131
Definition: common/typetraits/problem.hh:35
std::tuple< FiniteVolumeModel > InheritsFrom
Definition: ccmpfa.hh:59
GG GridGeometry
Definition: ccmpfa.hh:181
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolumeFace >()))> BoundaryTypes
Definition: ccmpfa.hh:183
Boundary types gathered on an element.
Definition: cellcentered/elementboundarytypes.hh:38
Default traits to be used in conjunction with the dual grid nodal index set.
Definition: dualgridindexset.hh:45
Nodal index set for mpfa schemes, constructed around grid vertices.
Definition: dualgridindexset.hh:70
The finite volume geometry (scvs and scvfs) for cell-centered mpfa models on a grid view This builds ...
Definition: discretization/cellcentered/mpfa/fvgridgeometry.hh:52
Traits class to be used for the CCMpfaFVGridGeometry.
Definition: cellcentered/mpfa/fvgridgeometrytraits.hh:50
Data handle physics traits.
Definition: discretization/cellcentered/mpfa/gridfluxvariablescache.hh:39
Data handle physics traits.
Definition: discretization/cellcentered/mpfa/gridfluxvariablescache.hh:57
Flux variable caches on a gridview.
Definition: discretization/cellcentered/mpfa/gridfluxvariablescache.hh:85
Base class for the grid volume variables.
Definition: cellcentered/mpfa/gridvolumevariables.hh:60
Class for the interaction volume data handle.
Definition: interactionvolumedatahandle.hh:229
Forward declaration of the o-method's interaction volume.
Definition: discretization/cellcentered/mpfa/omethod/interactionvolume.hh:115
The default interaction volume traits class for the mpfa-o method. This uses dynamic types types for ...
Definition: discretization/cellcentered/mpfa/omethod/interactionvolume.hh:60
The empty filler class corresponding to EmptyCache.
Definition: fluxvariablescaching.hh:32
An empty flux variables cache.
Definition: fluxvariablescaching.hh:47
Declares all properties used in Dumux.
Type traits for problem classes.
Boundary types gathered on an element.
The local element solution class for cell-centered methods.
The finite volume geometry (scvs and scvfs) for cell-centered mpfa models on a grid view This builds ...
Flux variable caches on a gridview.
The grid volume variables class for cell centered mpfa models.
Traits class to be used in conjunction with the CCMpfaFVGridGeometry.
Class for the interaction volume of the mpfa-o scheme.