Return the global maximum wave speed max_i(|u_i| + c_i).
Scans all grid points and returns the largest signal speed, which is used by the driver to compute a CFL-stable time step: dt = cfl * dx / compute_max_wave_speed(state)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_state_t), | intent(in) | :: | state |
Solver state (reads state%ub, state%n_pt, state%cfg%gam) |