Skip to content
Success

Changes

Summary

  1. Fixing a bug where the Lscale used in calculating the damping (details)
Commit 595e2c13024c1e913815d56ae724823a82bddc03 by bmg2
Fixing a bug where the Lscale used in calculating the damping
coefficient in advance_xm_wpxp_module.F90 should be Lscale_zm,
since the term is calculated on momentum grid levels.

Along the way, I found out that I could streamline the code
by passing in the value of Lscale_zm that was already calculated
(interpolated from Lscale) in advance_clubb_core. This value
could be passed into both advance_xm_wpxp and calc_stability_correction,
and then fed down.

This results of this code change are bit-for-bit identical with the
previous revision, most likely because this code only matters when
certain flags are flipped that are not used by default.
The file was modified src/CLUBB_core/advance_xm_wpxp_module.F90 (diff)
The file was modified src/CLUBB_core/advance_clubb_core_module.F90 (diff)
The file was modified src/CLUBB_core/advance_helper_module.F90 (diff)