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 | |
| 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 | |
| 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. | |
| 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) |
| Update the state to a new solution. | |
| 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::GridVariables< GG, X >::GridGeometry = GG |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |