Calculates time step according to CFL criterion. More...
#include <simple_cfl.hpp>
Public Member Functions | |
SimpleCFL (const double cfl) | |
Class constructor. More... | |
double | operator() (const Tessellation &tess, const vector< ComputationalCell > &cells, const EquationOfState &eos, const vector< Vector2D > &point_velocities, const double time, TracerStickerNames const &tracerstickernames) const |
Calculates the time step. More... | |
![]() | |
virtual | ~TimeStepFunction (void) |
Destructor. | |
Calculates time step according to CFL criterion.
Definition at line 12 of file simple_cfl.hpp.
|
explicit |
Class constructor.
cfl | CFL number |
Definition at line 8 of file simple_cfl.cpp.
|
virtual |
Calculates the time step.
tess | Tessellation |
cells | Primitive variables |
eos | Equation of state |
point_velocities | Velocities of the mesh generating points |
time | Time |
tracerstickernames | The names of the tracers and stickers |
Implements TimeStepFunction.
Definition at line 61 of file simple_cfl.cpp.