DedalusProject / dedalus

A flexible framework for solving PDEs with modern spectral methods.
http://dedalus-project.org/
GNU General Public License v3.0
513 stars 121 forks source link

[d3] Parallel Chebyshev CFL fix #157

Closed evanhanders closed 3 years ago

evanhanders commented 3 years ago

Fixes cfl_spacing in chebyshev, which had been based on the number of local chebyshev points instead of the number of global points. Also fixes the flow_tools cfl test to evaluate the CFL after the second timestep, to align with the logic coded in flow_tools.py.