![]() |
ryujin 2.5.0 revision c64172211cf21344cb9b9b0f3a1266aa6400d392
|
#include <include/ryujin/interface/time_integrator.h>


Public Member Functions | |
Setup | |
| virtual void | prepare ()=0 |
Functions for performing time steps | |
| virtual void | prepare_state_vector (StateVector< Number > &state_vector, Number t) const =0 |
| virtual Number | step (StateVector< Number > &state_vector, Number t, Number tau, Number tau_max=std::numeric_limits< Number >::max())=0 |
Information and statistics | |
| std::string | time_stepping_scheme_name_ |
| Number | efficiency_ |
| TimeIntegrator (const std::string &subsection) | |
The description-free interface of a TimeIntegrator: it advances the state vector of a Simulation by one time step.
In addition to the time step the interface holds the name and the efficiency of the time-stepping scheme.
Definition at line 31 of file time_integrator.h.
|
inlineexplicitprotected |
The name of the selected time-stepping scheme.
Definition at line 107 of file time_integrator.h.
|
pure virtual |
Prepare time integration. A call to prepare() is necessary before any of the following functions can be called.
Implemented in ryujin::TimeIntegrator< dim, Number >.
|
pure virtual |
Preprocess a given state vector state_vector at time t for time stepping. It has to be called prior to step() to ensure that precomputed values are in place.
Implemented in ryujin::TimeIntegrator< dim, Number >.
|
pure virtual |
Given a reference to a previous state vector state_vector at time t perform a time step (and store the result in state_vector). The function returns the time step size tau with which the update was performed.
If tau is nonzero the step is performed with tau. If tau is 0 the time step size is chosen such that it is less than or equal to tau_max.
state_vector has to be prepared with prepare_state_vector() prior to calling step(). Implemented in ryujin::TimeIntegrator< dim, Number >.
|
protected |
Definition at line 113 of file time_integrator.h.
|
protected |
Definition at line 114 of file time_integrator.h.