version 3.8
Dumux::Experimental::MultiStageTimeStepper< PDESolver, Scalar > Class Template Reference

Time stepping with a multi-stage method. More...

#include <dumux/experimental/timestepping/multistagetimestepper.hh>

Description

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)

Public Member Functions

 MultiStageTimeStepper (std::shared_ptr< PDESolver > pdeSolver, std::shared_ptr< const MultiStageMethod< Scalar > > msMethod)
 The constructor. More...
 
void step (Variables &vars, const Scalar t, const Scalar dt)
 Advance one time step of the given time loop. More...
 

Constructor & Destructor Documentation

◆ MultiStageTimeStepper()

template<class PDESolver , class Scalar = double>
Dumux::Experimental::MultiStageTimeStepper< PDESolver, Scalar >::MultiStageTimeStepper ( std::shared_ptr< PDESolver pdeSolver,
std::shared_ptr< const MultiStageMethod< Scalar > >  msMethod 
)
inline
Parameters
pdeSolverSolver class for solving a PDE in each stage
msMethodThe multi-stage method which is to be used for time integration

Member Function Documentation

◆ step()

template<class PDESolver , class Scalar = double>
void Dumux::Experimental::MultiStageTimeStepper< PDESolver, Scalar >::step ( Variables &  vars,
const Scalar  t,
const Scalar  dt 
)
inline
Parameters
varsThe variables object at the current time level.
tThe current time level
dtThe time step size to be used
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: