Skip to content

Commit

Permalink
+Clean up dimensional rescaling in write_u_accel
Browse files Browse the repository at this point in the history
  Pass wind stresses to write_u_accel() and write_v_accel() in [R L Z T-2 ~> Pa]
without requiring external rescaling first.  Also cleaned up the dimensional
scaling in MOM_PointAccel.F90, so that all arguments and internal variables use
the dimensionally rescaled variables with cleaner and standardized syntax, and
there are comments clearly describing all real variables in this module.
Moreover, several rescaling bugs were corrected in these routines, so that if
there are velocity truncations, now the output will be invariant to rescaling,
whereas before some reported values were not being properly scaled back to MKS
units.  All answers and output from the MOM6-examples regression suite are
bitwise identical.
  • Loading branch information
Hallberg-NOAA authored and marshallward committed Nov 28, 2021
1 parent 2a82bbd commit c54dcc6
Show file tree
Hide file tree
Showing 2 changed files with 156 additions and 160 deletions.
Loading

0 comments on commit c54dcc6

Please sign in to comment.