![]() |
#include <TimeStepper.h>
Collaboration diagram for dolfin::TimeStepper:
Public Member Functions | |
TimeStepper (ODE &ode, Function &function) | |
Constructor. | |
~TimeStepper () | |
Destructor. | |
real | step () |
Step solution, return current time. | |
bool | finished () const |
Check if we have reached the end time. | |
Static Public Member Functions | |
void | solve (ODE &ode, Function &function) |
Solve given ODE. |
This class can be used in two different ways. One way is to call the static method solve() to solve a given ODE:
TimeStepper::solve(ode, u);
Alternatively, one can create a TimeStepper object and use this for repeatedly time stepping the ODE, one time slab at a time:
TimeStepper timeStepper(ode, u); timeStepper.step(); timeStepper.step();
|
Constructor.
|
|
Destructor.
|
|
Check if we have reached the end time.
|
|
Solve given ODE.
|
|
Step solution, return current time.
|
Documentation automatically generated with Doxygen on 10 Sep 2004.