CourantFriedrichsLewy.hpp
Go to the documentation of this file.
1 
6 #ifndef COURANT_FRIEDRICHS_LEWY_HPP
7 #define COURANT_FRIEDRICHS_LEWY_HPP 1
8 
10 
13 {
14 public:
15 
19  explicit CourantFriedrichsLewy(double cfl);
20 
21  double operator()(const Tessellation3D& tess,
22  const vector<ComputationalCell>& cells,
23  const EquationOfState& eos) const;
24 
25 private:
26  const double cfl_;
27 };
28 
29 #endif // COURANT_FRIEDRICHS_LEWY_HPP
Abstract class for time step calculator.
Abstract class for time step calculator.
Abstract class for tessellation in 3D.
double operator()(const Tessellation3D &tess, const vector< ComputationalCell > &cells, const EquationOfState &eos) const
Calculates the time step.
Base class for equation of state.
Calculates the time step according to the CFL criterion.
CourantFriedrichsLewy(double cfl)
Class constructor.