Time stepping with a multi-stage method.
More...
#include <dumux/experimental/timestepping/multistagetimestepper.hh>
template<class
PDESolver, class Scalar = double>
class Dumux::Experimental::MultiStageTimeStepper< PDESolver, Scalar >
- Note
- We limit ourselves to "diagonally" implicit multi-stage methods where solving a stage can only depend on the values of the same stage and stages before but not future stages (which would require solving larger linear systems)
|
| MultiStageTimeStepper (std::shared_ptr< PDESolver > pdeSolver, std::shared_ptr< const MultiStageMethod< Scalar > > msMethod, const std::string ¶mGroup="") |
| The constructor.
|
|
void | step (Variables &vars, const Scalar t, const Scalar dt) |
| Advance one time step of the given time loop.
|
|
void | step (Variables &vars, TimeLoopBase< Scalar > &timeLoop) |
| Advance one time step of the given time loop (adaptive time stepping on solver failure)
|
|
◆ MultiStageTimeStepper()
template<class
PDESolver , class Scalar = double>
- Parameters
-
pdeSolver | Solver class for solving a PDE in each stage |
msMethod | The multi-stage method which is to be used for time integration |
paramGroup | A parameter group in which we look for parameters |
◆ step() [1/2]
template<class
PDESolver , class Scalar = double>
- Parameters
-
vars | The variables object at the current time level. |
t | The current time level |
dt | The time step size to be used |
- Note
- We expect the time level in vars to correspond to the given time
t
◆ step() [2/2]
template<class
PDESolver , class Scalar = double>
- Parameters
-
vars | The variables object at the current time level. |
timeLoop | An instance of a time loop |
- Note
- We expect the time level in vars to correspond to the given time
t
The documentation for this class was generated from the following file: