The grid variables class for general schemes, storing variables and data. More...
#include <dumux/discretization/gridvariables.hh>
| GG | The type of the grid geometry |
| GVC | The type of the grid variables cache |
Public Types | |
| using | GridGeometry = GG |
| export type of the grid discretization More... | |
| using | GridVariablesCache = GVC |
| export type of the grid variables cache More... | |
| using | Variables = typename GridVariablesCache::Variables |
| export type of the variables More... | |
| using | PrimaryVariables = typename Variables::PrimaryVariables |
| export primary variable type More... | |
| using | Scalar = typename PrimaryVariables::value_type |
| export scalar More... | |
Public Member Functions | |
| template<class Problem > | |
| GridVariables (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) |
| 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 GridVariablesCache & | curGridVars () const |
| return the current variables More... | |
| GridVariablesCache & | curGridVars () |
| return the current variables More... | |
| const GridVariablesCache & | prevGridVars () const |
| return the variables of the previous time step (for instationary problems) More... | |
| GridVariablesCache & | prevGridVars () |
| return the variables of the previous time step (for instationary problems) More... | |
| const GridGeometry & | gridGeometry () const |
| return the grid discretization More... | |
Protected Attributes | |
| std::shared_ptr< const GridGeometry > | gridGeometry_ |
| pointer to the constant grid geometry More... | |
| using Dumux::Experimental::GridVariables< GG, GVC >::GridGeometry = GG |
| using Dumux::Experimental::GridVariables< GG, GVC >::GridVariablesCache = GVC |
| using Dumux::Experimental::GridVariables< GG, GVC >::PrimaryVariables = typename Variables::PrimaryVariables |
| using Dumux::Experimental::GridVariables< GG, GVC >::Scalar = typename PrimaryVariables::value_type |
| using Dumux::Experimental::GridVariables< GG, GVC >::Variables = typename GridVariablesCache::Variables |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |