Refactoring internal tide reflection#1468
Conversation
e71e806 to
9960b92
Compare
Codecov Report
@@ Coverage Diff @@
## dev/gfdl #1468 +/- ##
=========================================
Coverage 29.06% 29.06%
=========================================
Files 237 237
Lines 71645 71642 -3
=========================================
Hits 20822 20822
+ Misses 50823 50820 -3
Continue to review full report at Codecov.
|
9960b92 to
a2671c3
Compare
1548914 to
16128ef
Compare
| integer :: i, j, a, a_r, na | ||
| !integer :: isd, ied, jsd, jed ! start and end local indices on data domain | ||
| ! ! (values include halos) | ||
| integer :: angle_wall ! angle of coast/ridge/shelf wrt equator [rad] |
There was a problem hiding this comment.
From inspection of the code, it looks to me like angle_wall and angle_wall0, and angle_r and angle_r0 all must the same units (probably [nondim], because as integers I don't see how they could have units of [rad]). Please verify that the documented units of these variables are correct.
It might also be worthwhile to document in a comment that the beams are being reflected into a single discrete angle, and are not splitting into multiple angles to approximate an arbitrary new angle.
|
The tc5 that you sent me showed some partial success. Most of the issues seem to mostly be related to diagnostics, but there's a more serious one related to restarts. We don't need to necessarily sort through all of these now, but the dimensional ones ought to be easy enough to fix. |
Hallberg-NOAA
left a comment
There was a problem hiding this comment.
I am now satisfied that these changes are correct, and are moving the code in the right direction, even if the internal tide capability is not yet fully operational and passing all of the tests.
|
Gaea Regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/13701 ✔️ |
perform trig operations with the discrete angles instead of radians, which simplify code quite a bit.