NCAR / MOM6

NCAR/CESM fork of the Modular Ocean Model v.6 (MOM6)
Other
2 stars 18 forks source link

[minor] error in sanity checks for background mixnig #237

Open dcherian opened 1 year ago

dcherian commented 1 year ago

Minor comment but I'm pretty sure this check is wrong and unnecessary when horiz_background_mixing is activated.

https://github.com/NCAR/MOM6/blob/9786710c3eff31468891767852600eeadf368589/src/parameterizations/vertical/MOM_bkgnd_mixing.F90#L249-L257

Kv and CS%Kd aren't used at all and prandtl_bkgnd is always used to get Kvfrom Kd