Class storing data associated to scvs and scvfs. More...
#include <dumux/discretization/staggered/gridvariables.hh>
| GG | the type of the grid geometry | 
| GVV | the type of the grid volume variables | 
| GFVC | the type of the grid flux variables cache | 
| GFV | the type of the grid face variables | 
| Public Types | |
| using | CellCenterGridVariablesType = CellCenterGridVariablesView<ThisType> | 
| using | FaceGridVariablesType = FaceGridVariablesView<ThisType> | 
| using | GridVolumeVariables = GVV | 
| export the type of the grid volume variables | |
| using | GridFluxVariablesCache = GFVC | 
| export the type of the grid flux variables cache | |
| using | GridFaceVariables = GFV | 
| export the type of the grid face variables | |
| using | GridGeometry = GG | 
| export the type of the grid geometry | |
| using | VolumeVariables = typename GridVolumeVariables::VolumeVariables | 
| export type of the volume variables | |
| using | PrimaryVariables = typename VolumeVariables::PrimaryVariables | 
| export primary variable type | |
| using | Scalar = std::decay_t<decltype(std::declval<PrimaryVariables>()[0])> | 
| export scalar type (TODO get it directly from the volvars) | |
| Public Member Functions | |
| template<class Problem> | |
| StaggeredGridVariables (std::shared_ptr< Problem > problem, std::shared_ptr< GridGeometry > gridGeometry) | |
| Constructor. | |
| template<class SolutionVector> | |
| void | update (const SolutionVector &curSol) | 
| update all variables | |
| template<class SolutionVector> | |
| void | init (const SolutionVector &curSol) | 
| initialize all variables (stationary case) | |
| void | advanceTimeStep () | 
| template<class SolutionVector> | |
| void | resetTimeStep (const SolutionVector &solution) | 
| resets state to the one before time integration | |
| const GridFaceVariables & | curGridFaceVars () const | 
| return the current face variables | |
| const GridFaceVariables & | prevGridFaceVars () const | 
| return the previous face variables | |
| GridFaceVariables & | curGridFaceVars () | 
| return the current face variables | |
| GridFaceVariables & | prevGridFaceVars () | 
| return the previous face variables | |
| std::unique_ptr< CellCenterGridVariablesView< ThisType > > | cellCenterGridVariablesPtr () | 
| Returns a pointer the cell center specific auxiliary class. Required for the multi-domain FVAssembler's ctor. | |
| std::unique_ptr< FaceGridVariablesView< ThisType > > | faceGridVariablesPtr () | 
| Returns a pointer the face specific auxiliary class. Required for the multi-domain FVAssembler's ctor. | |
| CellCenterGridVariablesView< ThisType > | cellCenterGridVariables () const | 
| Return a copy of the cell center specific auxiliary class. | |
| FaceGridVariablesView< ThisType > | faceGridVariables () const | 
| Return a copy of the face specific auxiliary class. | |
| template<class SolutionVector> | |
| void | update (const SolutionVector &curSol, bool forceFluxCacheUpdate=false) | 
| update all variables | |
| template<class SolutionVector> | |
| void | updateAfterGridAdaption (const SolutionVector &curSol) | 
| update all variables after grid adaption | |
| const GridFluxVariablesCache & | gridFluxVarsCache () const | 
| return the flux variables cache | |
| GridFluxVariablesCache & | gridFluxVarsCache () | 
| return the flux variables cache | |
| const GridVolumeVariables & | curGridVolVars () const | 
| return the current volume variables | |
| GridVolumeVariables & | curGridVolVars () | 
| return the current volume variables | |
| const GridVolumeVariables & | prevGridVolVars () const | 
| return the volume variables of the previous time step (for instationary problems) | |
| GridVolumeVariables & | prevGridVolVars () | 
| return the volume variables of the previous time step (for instationary problems) | |
| const GridGeometry & | gridGeometry () const | 
| return the finite volume grid geometry | |
| Protected Attributes | |
| std::shared_ptr< const GridGeometry > | gridGeometry_ | 
| pointer to the constant grid geometry | |
| using Dumux::StaggeredGridVariables< GG, GVV, GFVC, GFV >::CellCenterGridVariablesType = CellCenterGridVariablesView<ThisType> | 
| using Dumux::StaggeredGridVariables< GG, GVV, GFVC, GFV >::FaceGridVariablesType = FaceGridVariablesView<ThisType> | 
| using Dumux::StaggeredGridVariables< GG, GVV, GFVC, GFV >::GridFaceVariables = GFV | 
| using Dumux::StaggeredGridVariables< GG, GVV, GFVC, GFV >::GridFluxVariablesCache = GFVC | 
| using Dumux::StaggeredGridVariables< GG, GVV, GFVC, GFV >::GridGeometry = GG | 
| using Dumux::StaggeredGridVariables< GG, GVV, GFVC, GFV >::GridVolumeVariables = GVV | 
| 
 | inherited | 
| 
 | inherited | 
| 
 | inherited | 
| 
 | inline | 
| 
 | inline | 
Sets the current state as the previous for next time step this has to be called at the end of each time step
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inline | 
| 
 | inlineinherited | 
| 
 | inline | 
| 
 | inlineinherited | 
| 
 | protectedinherited |