simple_cfl.hpp
Go to the documentation of this file.
1 
6 #ifndef SIMPLE_CFL_HPP
7 #define SIMPLE_CFL_HPP 1
8 
9 #include "time_step_function.hpp"
10 
13 {
14 public:
15 
19  explicit SimpleCFL(const double cfl);
20 
21  double operator()(const Tessellation& tess,
22  const vector<ComputationalCell>& cells,
23  const EquationOfState& eos,
24  const vector<Vector2D>& point_velocities,
25  const double time,TracerStickerNames const& tracerstickernames) const;
26 
27 private:
28  const double cfl_;
29 };
30 
31 #endif // SIMPLE_CFL_HPP
Calculates time step according to CFL criterion.
Definition: simple_cfl.hpp:12
SimpleCFL(const double cfl)
Class constructor.
Definition: simple_cfl.cpp:8
Abstract class for tessellation.
Base class for equation of state.
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.
Definition: simple_cfl.cpp:61
Class for keeping the names of the tracers and stickers.
Abstract class for time step function.
Abstract class for time step function.