Base class for grid variables. More...
#include <dumux/experimental/discretization/gridvariables.hh>
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 |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |