25#ifndef DUMUX_DISCRETIZATION_CC_MPFA_HH
26#define DUMUX_DISCRETIZATION_CC_MPFA_HH
28#include <dune/common/reservedvector.hh>
61template<
class TypeTag>
73template<
class TypeTag>
87template<
class TypeTag>
101template<
class TypeTag>
115template<
class TypeTag>
119 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridVolumeVariablesCache>();
127template<
class TypeTag>
131 static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>();
140 using PrimaryMatVecTraits =
typename PrimaryInteractionVolume::Traits::MatVecTraits;
141 using SecondaryMatVecTraits =
typename SecondaryInteractionVolume::Traits::MatVecTraits;
147 FluxVariablesCache, FluxVariablesCacheFiller,
148 PrimaryInteractionVolume, SecondaryInteractionVolume,
155template<
class TypeTag>
159template<
class TypeTag>
165template<
class Problem>
169 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
170 using Element =
typename GG::GridView::template Codim<0>::Entity;
171 using SubControlVolumeFace =
typename GG::SubControlVolumeFace;
175 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.
Class for the index sets of the dual grid in mpfa schemes.
Data handle class for interaction volumes of mpfa methods. This class is passed to interaction volume...
The available mpfa schemes in Dumux.
Declares properties required for finite-volume models models.
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:150
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:65
Stores the boundary types on an element.
Definition: common/properties.hh:99
Definition: common/properties.hh:102
The type for a global container for the volume variables.
Definition: common/properties.hh:109
The global vector of flux variable containers.
Definition: common/properties.hh:119
The primary interaction volume type.
Definition: common/properties.hh:129
The secondary interaction volume type used e.g. on the boundaries.
Definition: common/properties.hh:131
The type used for the nodal index sets of the dual grid.
Definition: common/properties.hh:133
Definition: common/typetraits/problem.hh:35
std::tuple< FiniteVolumeModel > InheritsFrom
Definition: ccmpfa.hh:57
GG GridGeometry
Definition: ccmpfa.hh:173
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolumeFace >()))> BoundaryTypes
Definition: ccmpfa.hh:175
Boundary types gathered on an element.
Definition: cellcentered/elementboundarytypes.hh:38
Default traits to be used in conjuntion 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
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.