SPH
|
#include <TimeStepping.h>
Public Member Functions | |
RungeKutta (const SharedPtr< Storage > &storage, const RunSettings &settings) | |
~RungeKutta () override | |
![]() | |
ITimeStepping (const SharedPtr< Storage > &storage, const RunSettings &settings) | |
Constructs the timestepping, using timestep criteria from parameters in settings. More... | |
ITimeStepping (const SharedPtr< Storage > &storage, const RunSettings &settings, AutoPtr< ITimeStepCriterion > &&criterion) | |
Constructs the timestepping, explicitly specifying the timestep criterion used in the run. More... | |
~ITimeStepping () override | |
INLINE Float | getTimeStep () const |
void | step (IScheduler &scheduler, ISolver &solver, Statistics &stats) |
![]() | |
virtual | ~Polymorphic () |
Protected Member Functions | |
virtual void | stepImpl (IScheduler &scheduler, ISolver &solver, Statistics &stats) override |
void | integrateAndAdvance (ISolver &solver, Statistics &stats, Storage &k, const Float m, const Float n) |
Additional Inherited Members | |
![]() | |
SharedPtr< Storage > | storage |
Main storage holding all the particles in the run. More... | |
Float | timeStep |
Current time step. More... | |
Float | maxTimeStep |
Maximal allowed time step. More... | |
AutoPtr< ITimeStepCriterion > | criterion |
Criterion used to compute the time step. More... | |
Definition at line 129 of file TimeStepping.h.
RungeKutta::RungeKutta | ( | const SharedPtr< Storage > & | storage, |
const RunSettings & | settings | ||
) |
Definition at line 362 of file TimeStepping.cpp.
|
overridedefault |
|
protected |
Definition at line 381 of file TimeStepping.cpp.
|
overrideprotectedvirtual |
Implements ITimeStepping.
Definition at line 409 of file TimeStepping.cpp.