27#ifndef DUMUX_DISCRETIZATION_STAGGERD_HH
28#define DUMUX_DISCRETIZATION_STAGGERD_HH
48#include <dune/istl/multitypeblockvector.hh>
49#include <dune/istl/multitypeblockmatrix.hh>
65template<
class TypeTag>
77template<
class TypeTag>
81template<
class TypeTag>
95template<
class TypeTag>
105template<
class TypeTag>
118template<
class TypeTag>
122template<
class TypeTag>
126template<
class TypeTag>
129 using type = Dune::FieldVector<GetPropType<TypeTag, Properties::Scalar>,
134template<
class TypeTag>
137 using type = Dune::FieldVector<GetPropType<TypeTag, Properties::Scalar>,
145template<
class TypeTag>
147{
using type = Dune::BlockVector<GetPropType<TypeTag, Properties::CellCenterPrimaryVariables>>; };
150template<
class TypeTag>
152{
using type = Dune::BlockVector<GetPropType<TypeTag, Properties::FacePrimaryVariables>>; };
155template<
class TypeTag>
166template<
class TypeTag>
202template<
class Problem>
206 using GG = std::decay_t<decltype(std::declval<Problem>().gridGeometry())>;
207 using Element =
typename GG::GridView::template Codim<0>::Entity;
208 using SubControlVolumeFace =
typename GG::SubControlVolumeFace;
212 using BoundaryTypes = std::decay_t<decltype(std::declval<Problem>().boundaryTypes(std::declval<Element>(), std::declval<SubControlVolumeFace>()))>;
Calculates the element-wise residual for the staggered FV scheme.
The available discretization methods in Dumux.
The global face variables class for staggered models.
Face variables cache class for staggered models.
Declares properties required for finite-volume models models.
Classes related to flux variables caching.
DiscretizationMethod
The available discretization methods in Dumux.
Definition method.hh:37
@ staggered
Definition method.hh:38
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:154
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property
Definition propertysystem.hh:150
Definition gridcapabilities.hh:60
Definition common/properties.hh:37
Type tag for numeric models.
Definition grid.hh:36
Calculates the element-wise residual for the staggered FV scheme.
Definition staggeredlocalresidual.hh:41
Definition common/pdesolver.hh:38
The type of the base class of the local residual (specific to a discretization scheme).
Definition common/properties.hh:65
Type of the global jacobian matrix.
Definition common/properties.hh:67
Vector containing all primary variable vector of the grid.
Definition common/properties.hh:69
Stores the boundary types on an element.
Definition common/properties.hh:95
The global vector of flux variable containers.
Definition common/properties.hh:115
The grid variables object managing variable data on the grid (volvars/fluxvars cache).
Definition common/properties.hh:119
The solution vector type for cell-centered dofs.
Definition common/properties.hh:210
The solution vector type for face dofs.
Definition common/properties.hh:212
Global vector containing face-related data.
Definition common/properties.hh:214
The primary variables container type for cell-centered dofs.
Definition common/properties.hh:216
The primary variables container type for face dofs.
Definition common/properties.hh:218
A vector containing the solution for a face (similar to ElementSolution).
Definition common/properties.hh:230
Switch on/off caching of face variables.
Definition common/properties.hh:232
Definition common/typetraits/problem.hh:35
Definition variablesbackend.hh:43
Boundary types gathered on an element.
Definition cellcentered/elementboundarytypes.hh:38
Definition staggered.hh:61
std::tuple< FiniteVolumeModel > InheritsFrom
Definition staggered.hh:61
StaggeredGridFaceVariables< Problem, FaceVariables, enableCache > type
Definition staggered.hh:73
static constexpr bool value
Definition staggered.hh:78
StaggeredGridFluxVariablesCache< Problem, FluxVariablesCache, FluxVariablesCacheFiller, enableCache, upwindSchemeOrder > type
Definition staggered.hh:91
Dumux::StaggeredFaceSolution< FaceSolutionVector > type
Definition staggered.hh:101
StaggeredGridVariables< GG, GVV, GFVC, GFV > type
Definition staggered.hh:114
CCElementBoundaryTypes type
Definition staggered.hh:119
StaggeredLocalResidual< TypeTag > type
Definition staggered.hh:123
Dune::FieldVector< GetPropType< TypeTag, Properties::Scalar >, getPropValue< TypeTag, Properties::NumEqCellCenter >()> type
Definition staggered.hh:129
Dune::FieldVector< GetPropType< TypeTag, Properties::Scalar >, getPropValue< TypeTag, Properties::NumEqFace >()> type
Definition staggered.hh:137
Dune::BlockVector< GetPropType< TypeTag, Properties::CellCenterPrimaryVariables > > type
Definition staggered.hh:147
Dune::BlockVector< GetPropType< TypeTag, Properties::FacePrimaryVariables > > type
Definition staggered.hh:152
Dune::MultiTypeBlockVector< FaceSolutionVector, CellCenterSolutionVector > type
Definition staggered.hh:162
typename Dune::BCRSMatrix< MatrixLittleBlockCCToFace > MatrixBlockCCToFace
Definition staggered.hh:185
typename Dune::MultiTypeBlockVector< MatrixBlockFaceToFace, MatrixBlockFaceToCC > RowFace
Definition staggered.hh:191
typename Dune::BCRSMatrix< MatrixLittleBlockFaceToFace > MatrixBlockFaceToFace
Definition staggered.hh:187
typename Dune::FieldMatrix< Scalar, numEqCellCenter, numEqFace > MatrixLittleBlockCCToFace
Definition staggered.hh:178
typename Dune::MultiTypeBlockMatrix< RowFace, RowCellCenter > type
Definition staggered.hh:195
typename Dune::BCRSMatrix< MatrixLittleBlockCCToCC > MatrixBlockCCToCC
Definition staggered.hh:184
typename Dune::FieldMatrix< Scalar, numEqFace, numEqCellCenter > MatrixLittleBlockFaceToCC
Definition staggered.hh:181
typename Dune::FieldMatrix< Scalar, numEqFace, numEqFace > MatrixLittleBlockFaceToFace
Definition staggered.hh:180
typename Dune::MultiTypeBlockVector< MatrixBlockCCToFace, MatrixBlockCCToCC > RowCellCenter
Definition staggered.hh:192
typename Dune::BCRSMatrix< MatrixLittleBlockFaceToCC > MatrixBlockFaceToCC
Definition staggered.hh:188
typename Dune::FieldMatrix< Scalar, numEqCellCenter, numEqCellCenter > MatrixLittleBlockCCToCC
Definition staggered.hh:177
GG GridGeometry
Definition staggered.hh:210
std::decay_t< decltype(std::declval< Problem >().boundaryTypes(std::declval< Element >(), std::declval< SubControlVolumeFace >()))> BoundaryTypes
Definition staggered.hh:212
The global face variables class for staggered models.
Definition facesolution.hh:40
Face variables cache class for staggered models.
Definition gridfacevariables.hh:59
Flux variables cache class for staggered models.
Definition discretization/staggered/gridfluxvariablescache.hh:63
Class storing data associated to scvs and scvfs.
Definition discretization/staggered/gridvariables.hh:195
Declares all properties used in Dumux.
Type traits for problem classes.
Boundary types gathered on an element.
Base class for the finite volume geometry vector for staggered models This builds up the sub control ...
Flux variables cache class for staggered models.
Sub control volumes for cell-centered discretization schemes.
Class for a sub control volume face in the staggered method, i.e a part of the boundary of a sub cont...
Class storing data associated to scvs and scvfs.