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. 
 | 
|  | 
|  | TimeLevel (Scalar curTime, Scalar prevTime, Scalar dtFraction) | 
|  | Construct a time level with information on an ongoing time step. 
 | 
|  | 
| Scalar | current () const | 
|  | Return the current time. 
 | 
|  | 
| Scalar | previous () const | 
|  | Return the time at the beginning of time integration. 
 | 
|  | 
| Scalar | timeStepFraction () const | 
|  | Return the fraction of the time step this level corresponds to. 
 | 
|  | 
◆ 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: