Simple CFL time step calculator. More...
#include <simple_cfl_1d.hpp>
Public Member Functions | |
SimpleCFL1D (double cfl) | |
Class constructor. More... | |
double | operator() (const SimulationState1D &ss, const EquationOfState &eos) const |
Calculates the time step. More... | |
Simple CFL time step calculator.
Definition at line 12 of file simple_cfl_1d.hpp.
|
explicit |
|
virtual |
Calculates the time step.
ss | Computational domain and hydro cells |
eos | Equation of state |
Implements TimeStepFunction1D.
Definition at line 12 of file simple_cfl_1d.cpp.