Class that represents a time level during time integration. More...
#include <dumux/experimental/timestepping/timelevel.hh>
Class that represents a time level during time integration.
Public Member Functions | |
| TimeLevel (Scalar curTime) | |
| Construct a time level with a time. More... | |
| TimeLevel (Scalar curTime, Scalar prevTime, Scalar dtFraction) | |
| Construct a time level with information on an ongoing time step. More... | |
| Scalar | current () const |
| Return the current time. More... | |
| Scalar | previous () const |
| Return the time at the beginning of time integration. More... | |
| Scalar | timeStepFraction () const |
| Return the fraction of the time step this level corresponds to. More... | |
|
inlineexplicit |
Construct a time level with a time.
|
inline |
Construct a time level with information on an ongoing time step.
| curTime | The current time level |
| prevTime | The previous time level |
| dtFraction | The fraction of a time step this level corresponds to. |
|
inline |
Return the current time.
|
inline |
Return the time at the beginning of time integration.
|
inline |
Return the fraction of the time step this level corresponds to.