Skip to content

Commit

Permalink
*Refactor MOM_EOS_UNESCO.F90
Browse files Browse the repository at this point in the history
  Refactored the expressions in MOM_EOS_UNESCO.F90, adding parentheses to
specify the order of arithmetic, starting with the highest-order terms first for
less sensitivity to round-off.  Also added comments to better describe the
references for these algorithms.  Although the revised expressions are all
mathematically equivalent, this commit will change answers for any cases that
use EQN_OF_STATE = "UNESCO".  However, it is believed based on a survey of the
MOM6 community that there are no active configurations that use this equation of
state.
  • Loading branch information
Hallberg-NOAA authored and marshallward committed Apr 23, 2023
1 parent b4be596 commit 332b7e3
Showing 1 changed file with 184 additions and 218 deletions.
Loading

0 comments on commit 332b7e3

Please sign in to comment.