MPAS-Dev / MPAS

Repository for private MPAS development prior to the MPAS v6.0 release.
Other
4 stars 0 forks source link

Fix CFL check when adaptive timestep is off #1431

Closed matthewhoffman closed 7 years ago

matthewhoffman commented 7 years ago

The current code was skipping the CFL checks when the adaptive timestepper was off (which is the only time they are really needed). This bug appears to have been added with 9cea0f5fa7eb55c20e148f00d2fdef13ec2522bf. The changes responsible also led to potential usage of dtSeconds before it was initialized.

This merge fixes the bug.