Base class for grid variables. More...
#include <dumux/experimental/discretization/gridvariables.hh>
Base class for grid variables.
GG | The grid geometry type |
X | The type used for solution vectors |
Public Types | |
using | GridGeometry = GG |
export the grid geometry type 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 | |
template<class... Args> | |
GridVariables (std::shared_ptr< const GridGeometry > gridGeometry, Args &&... args) | |
Constructor from a grid geometry. The remaining arguments must be valid arguments for the construction of the Variables class. 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) |
Update the state to a new solution. 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::GridVariables< GG, X >::GridGeometry = GG |
export the grid geometry type
|
inherited |
export the underlying scalar type
|
inherited |
export the type of solution vector
|
inherited |
export the time representation
|
inline |
Constructor from a grid geometry. The remaining arguments must be valid arguments for the construction of the Variables class.
|
inlineinherited |
Non-const access still required for privar switch (TODO: Remove dependency)
|
inlineinherited |
Return reference to the solution.
|
inline |
Return a reference to the grid geometry.
|
inlineinherited |
Return the time level.
|
inlineinherited |
Update the state to a new solution.
|
inlineinherited |
Update the state to a new solution & time level.
|
inlineinherited |
Update the time level only.