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 More... | |
using | GridVolumeVariables = GVV |
export type of the grid volume variables More... | |
using | VolumeVariables = typename GridVolumeVariables::VolumeVariables |
export type of the volume variables More... | |
using | PrimaryVariables = typename VolumeVariables::PrimaryVariables |
export primary variable type More... | |
using | GridFluxVariablesCache = GFVC |
export cache type for flux variables More... | |
using | LocalView = FVGridVariablesLocalView< ThisType > |
export the local view on this class More... | |
using | SolutionVector = X |
export the type of solution vector More... | |
using | Scalar = typename ScalarT< X >::type |
export the underlying scalar type More... | |
using | TimeLevel = Dumux::Experimental::TimeLevel< Scalar > |
export the time representation More... | |
Public Member Functions | |
FVGridVariables (std::shared_ptr< Problem > problem, std::shared_ptr< const GridGeometry > gridGeometry) | |
Constructor. More... | |
template<class SolOrInitializer > | |
FVGridVariables (std::shared_ptr< Problem > problem, std::shared_ptr< const GridGeometry > gridGeometry, SolOrInitializer &&solOrInitializer) | |
Constructor with custom initialization of the solution. More... | |
void | update (const SolutionVector &curSol) |
Update all variables that may be affected by a change in solution. More... | |
void | forceUpdateAll (const SolutionVector &curSol) |
Force the update of all variables. More... | |
const GridFluxVariablesCache & | gridFluxVarsCache () const |
return the flux variables cache More... | |
GridFluxVariablesCache & | gridFluxVarsCache () |
return the flux variables cache More... | |
const GridVolumeVariables & | gridVolVars () const |
return the current volume variables More... | |
GridVolumeVariables & | gridVolVars () |
return the current volume variables More... | |
const GridGeometry & | gridGeometry () const |
Return a reference to the grid geometry. More... | |
const TimeLevel & | timeLevel () const |
Return the time level. More... | |
const SolutionVector & | dofs () const |
Return reference to the solution. More... | |
SolutionVector & | dofs () |
Non-const access still required for privar switch (TODO: Remove dependency) More... | |
void | update (const SolutionVector &x, const TimeLevel &t) |
Update the state to a new solution & time level. More... | |
void | updateTime (const TimeLevel &t) |
Update the time level only. More... | |
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 |