SPH
|
Predictor-corrector second-order timestepping. More...
#include <TimeStepping.h>
Public Member Functions | |
PredictorCorrector (const SharedPtr< Storage > &storage, const RunSettings &settings) | |
~PredictorCorrector () override | |
Public Member Functions inherited from ITimeStepping | |
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) |
Public Member Functions inherited from Polymorphic | |
virtual | ~Polymorphic () |
Protected Member Functions | |
virtual void | stepImpl (IScheduler &scheduler, ISolver &solver, Statistics &stats) override |
void | makePredictions (IScheduler &scheduler) |
void | makeCorrections (IScheduler &scheduler) |
Additional Inherited Members | |
Protected Attributes inherited from ITimeStepping | |
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... | |
Predictor-corrector second-order timestepping.
Definition at line 97 of file TimeStepping.h.
PredictorCorrector::PredictorCorrector | ( | const SharedPtr< Storage > & | storage, |
const RunSettings & | settings | ||
) |
Definition at line 237 of file TimeStepping.cpp.
|
overridedefault |
|
protected |
Definition at line 267 of file TimeStepping.cpp.
|
protected |
Definition at line 251 of file TimeStepping.cpp.
|
overrideprotectedvirtual |
Implements ITimeStepping.
Definition at line 289 of file TimeStepping.cpp.