11 double SimpleCFL1D::operator()
16 for(
size_t i=0;i<ss.
getCells().size();++i){
20 const double idt_candidate = (c+
abs(cell.
velocity))/dx;
21 idt =
max(idt, idt_candidate);
Simple CFL time step calculator.
const vector< double > & getVertices(void) const
Access to vertices.
double max(vector< double > const &v)
returns the maximal term in a vector
SimpleCFL1D(double cfl)
Class constructor.
const vector< ComputationalCell > & getCells(void) const
Access to hydro cells.
Base class for equation of state.
double abs(Vector3D const &v)
Norm of a vector.
Vector2D velocity
Velocity.
Package for computational domain and hydro cells.