The grid variable class for finite volume schemes storing variables on scv and scvf (volume and flux variables) More...
#include <dumux/discretization/fvgridvariables.hh>
The grid variable class for finite volume schemes storing variables on scv and scvf (volume and flux variables)
| the | type of the grid geometry |
| the | type of the grid volume variables |
| the | type of the grid flux variables cache |
Public Types | |
| using | GridGeometry = GG |
| export type of the finite volume grid geometry More... | |
| using | GridVolumeVariables = GVV |
| export type of the finite volume grid geometry More... | |
| using | VolumeVariables = typename GridVolumeVariables::VolumeVariables |
| export type of the volume variables More... | |
| using | PrimaryVariables = typename VolumeVariables::PrimaryVariables |
| export primary variable type More... | |
| using | Scalar = std::decay_t< decltype(std::declval< PrimaryVariables >()[0])> |
| export scalar type (TODO get it directly from the volvars) More... | |
| using | GridFluxVariablesCache = GFVC |
| export type of the finite volume grid geometry More... | |
Public Member Functions | |
| template<class Problem > | |
| FVGridVariables (std::shared_ptr< Problem > problem, std::shared_ptr< const GridGeometry > gridGeometry) | |
| template<class SolutionVector > | |
| void | init (const SolutionVector &curSol) |
| initialize all variables (stationary case) More... | |
| template<class SolutionVector > | |
| void | update (const SolutionVector &curSol, bool forceFluxCacheUpdate=false) |
| update all variables More... | |
| template<class SolutionVector > | |
| void | updateAfterGridAdaption (const SolutionVector &curSol) |
| update all variables after grid adaption More... | |
| void | advanceTimeStep () |
| Sets the current state as the previous for next time step. More... | |
| template<class SolutionVector > | |
| void | resetTimeStep (const SolutionVector &solution) |
| resets state to the one before time integration More... | |
| const GridFluxVariablesCache & | gridFluxVarsCache () const |
| return the flux variables cache More... | |
| GridFluxVariablesCache & | gridFluxVarsCache () |
| return the flux variables cache More... | |
| const GridVolumeVariables & | curGridVolVars () const |
| return the current volume variables More... | |
| GridVolumeVariables & | curGridVolVars () |
| return the current volume variables More... | |
| const GridVolumeVariables & | prevGridVolVars () const |
| return the volume variables of the previous time step (for instationary problems) More... | |
| GridVolumeVariables & | prevGridVolVars () |
| return the volume variables of the previous time step (for instationary problems) More... | |
| const GridGeometry & | gridGeometry () const |
| return the finite volume grid geometry More... | |
Protected Attributes | |
| std::shared_ptr< const GridGeometry > | gridGeometry_ |
| pointer to the constant grid geometry More... | |
| using Dumux::FVGridVariables< GG, GVV, GFVC >::GridFluxVariablesCache = GFVC |
export type of the finite volume grid geometry
| using Dumux::FVGridVariables< GG, GVV, GFVC >::GridGeometry = GG |
export type of the finite volume grid geometry
| using Dumux::FVGridVariables< GG, GVV, GFVC >::GridVolumeVariables = GVV |
export type of the finite volume grid geometry
| using Dumux::FVGridVariables< GG, GVV, GFVC >::PrimaryVariables = typename VolumeVariables::PrimaryVariables |
export primary variable type
| using Dumux::FVGridVariables< GG, GVV, GFVC >::Scalar = std::decay_t<decltype(std::declval<PrimaryVariables>()[0])> |
export scalar type (TODO get it directly from the volvars)
| using Dumux::FVGridVariables< GG, GVV, GFVC >::VolumeVariables = typename GridVolumeVariables::VolumeVariables |
export type of the volume variables
|
inline |
|
inline |
Sets the current state as the previous for next time step.
|
inline |
return the current volume variables
|
inline |
return the current volume variables
|
inline |
return the flux variables cache
|
inline |
return the flux variables cache
|
inline |
return the finite volume grid geometry
|
inline |
initialize all variables (stationary case)
|
inline |
return the volume variables of the previous time step (for instationary problems)
|
inline |
return the volume variables of the previous time step (for instationary problems)
|
inline |
resets state to the one before time integration
|
inline |
update all variables
|
inline |
update all variables after grid adaption
|
protected |
pointer to the constant grid geometry