Class that represents a time level during time integration.
#include <dumux/experimental/timestepping/timelevel.hh>
|
| 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...
|
|
◆ TimeLevel() [1/2]
- Note
- This can be used in contexts outside of time integration, where no information on a previous time or time step size is needed.
◆ TimeLevel() [2/2]
- Parameters
-
curTime | The current time level |
prevTime | The previous time level |
dtFraction | The fraction of a time step this level corresponds to. |
- Note
- Within a time integration step, several time levels might occur when multi-stage methods are used. The argument dtFraction allows for determining the time that will be reached at the end of the time integration step.
◆ current()
◆ previous()
◆ timeStepFraction()
The documentation for this class was generated from the following file: