The grid variable class for finite volume schemes, storing variables on scv and scvf (volume and flux variables). More...
#include <dumux/experimental/discretization/fvgridvariables.hh>
| GVV | the type of the grid volume variables | 
| GFVC | the type of the grid flux variables cache | 
| X | the type used for solution vectors | 
| Public Types | |
| using | GridGeometry = GG | 
| export type of the finite volume grid geometry | |
| using | GridVolumeVariables = GVV | 
| export type of the grid volume variables | |
| using | VolumeVariables = typename GridVolumeVariables::VolumeVariables | 
| export type of the volume variables | |
| using | PrimaryVariables = typename VolumeVariables::PrimaryVariables | 
| export primary variable type | |
| using | GridFluxVariablesCache = GFVC | 
| export cache type for flux variables | |
| using | LocalView = FVGridVariablesLocalView<ThisType> | 
| export the local view on this class | |
| using | SolutionVector = X | 
| export the type of solution vector | |
| using | Scalar = typename ScalarT<X>::type | 
| export the underlying scalar type | |
| using | TimeLevel = Dumux::Experimental::TimeLevel<Scalar> | 
| export the time representation | |
| Public Member Functions | |
| FVGridVariables (std::shared_ptr< Problem > problem, std::shared_ptr< const GridGeometry > gridGeometry) | |
| Constructor. | |
| template<class SolOrInitializer> | |
| FVGridVariables (std::shared_ptr< Problem > problem, std::shared_ptr< const GridGeometry > gridGeometry, SolOrInitializer &&solOrInitializer) | |
| Constructor with custom initialization of the solution. | |
| void | update (const SolutionVector &curSol) | 
| Update all variables that may be affected by a change in solution. | |
| void | forceUpdateAll (const SolutionVector &curSol) | 
| Force the update of all variables. | |
| const GridFluxVariablesCache & | gridFluxVarsCache () const | 
| return the flux variables cache | |
| GridFluxVariablesCache & | gridFluxVarsCache () | 
| return the flux variables cache | |
| const GridVolumeVariables & | gridVolVars () const | 
| return the current volume variables | |
| GridVolumeVariables & | gridVolVars () | 
| return the current volume variables | |
| const GridGeometry & | gridGeometry () const | 
| Return a reference to the grid geometry. | |
| const TimeLevel & | timeLevel () const | 
| Return the time level. | |
| const SolutionVector & | dofs () const | 
| Return reference to the solution. | |
| SolutionVector & | dofs () | 
| Non-const access still required for privar switch (TODO: Remove dependency) | |
| void | update (const SolutionVector &x, const TimeLevel &t) | 
| Update the state to a new solution & time level. | |
| void | updateTime (const TimeLevel &t) | 
| Update the time level only. | |
| using Dumux::Experimental::FVGridVariables< GVV, GFVC, X >::GridFluxVariablesCache = GFVC | 
| using Dumux::Experimental::FVGridVariables< GVV, GFVC, X >::GridGeometry = GG | 
| using Dumux::Experimental::FVGridVariables< GVV, GFVC, X >::GridVolumeVariables = GVV | 
| using Dumux::Experimental::FVGridVariables< GVV, GFVC, X >::LocalView = FVGridVariablesLocalView<ThisType> | 
| using Dumux::Experimental::FVGridVariables< GVV, GFVC, X >::PrimaryVariables = typename VolumeVariables::PrimaryVariables | 
| 
 | inherited | 
| 
 | inherited | 
| 
 | inherited | 
| using Dumux::Experimental::FVGridVariables< GVV, GFVC, X >::VolumeVariables = typename GridVolumeVariables::VolumeVariables | 
| 
 | inline | 
| problem | The problem to be solved | 
| gridGeometry | The geometry of the computational grid | 
| 
 | inline | 
| problem | The problem to be solved | 
| gridGeometry | The geometry of the computational grid | 
| solOrInitializer | This can be either a reference to a solution vector, or an initializer lambda. See Dumux::Experimental::Variables. | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlineinherited | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlineinherited | 
| 
 | inline | 
| 
 | inlineinherited | 
| 
 | inlineinherited |