Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*Cancel out Z_to_H factors in MOM_hor_visc.F90 #417

Merged
merged 3 commits into from
Jul 29, 2023

Commits on Jul 20, 2023

  1. *Cancel out Z_to_H factors in MOM_hor_visc.F90

      Cancelled out factors of GV%Z_to_H in MOM_hor_visc.F90 to simplify the code
    and reduce the dependence on the value of GV%Rho_0 in non-Boussinesq mode.  This
    involved changing the units of 3 internal variables in horizontal_viscosity and
    one element in the hor_visc_CS type to use thickness units or their inverse.
    Because GV%Z_to_H is an exact power of 2 in Boussinesq mode, all answers are
    bitwise identical in that mode, but in non-Boussinesq mode this conversion
    involves multiplication and division by GV%Rho_0, so while all answers are
    mathematically equivalent, this change does change answers at roundoff in
    non-Boussinesq mode.
    Hallberg-NOAA committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    a723309 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Configuration menu
    Copy the full SHA
    19eb1eb View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2023

  1. Configuration menu
    Copy the full SHA
    4776fc9 View commit details
    Browse the repository at this point in the history