|
SPH
|
Criterion computing time step from velocity divergence. More...
#include <TimeStepCriterion.h>
Public Member Functions | |
| DivergenceCriterion (const RunSettings &settings) | |
| virtual TimeStep | compute (IScheduler &scheduler, Storage &storage, Float maxStep, Statistics &stats) override |
| Computes the value of the time step. More... | |
Public Member Functions inherited from Polymorphic | |
| virtual | ~Polymorphic () |
Criterion computing time step from velocity divergence.
This criterion constrains the time step based on relative velocities of interacting particles.
Definition at line 121 of file TimeStepCriterion.h.
|
explicit |
Definition at line 256 of file TimeStepCriterion.cpp.
|
overridevirtual |
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. |
Implements ITimeStepCriterion.
Definition at line 260 of file TimeStepCriterion.cpp.