SPH
|
Base class for timestep setters. More...
#include <TimeStepCriterion.h>
Public Member Functions | |
virtual TimeStep | compute (IScheduler &scheduler, Storage &storage, Float maxStep, Statistics &stats)=0 |
Computes the value of the time step. More... | |
Public Member Functions inherited from Polymorphic | |
virtual | ~Polymorphic () |
Base class for timestep setters.
Definition at line 38 of file TimeStepCriterion.h.
|
pure virtual |
Computes the value of the time step.
scheduler | Scheduler than can be used for parallelization. |
storage | Storage containing all physical quantities from which the time step is determined. |
maxStep | Maximal allowed time step. |
stats | Used to save statistics of the criterion. |
Implemented in CourantCriterion, DivergenceCriterion, AccelerationCriterion, DerivativeCriterion, and MultiCriterion.