Skip to content

Commit

Permalink
Merge pull request mom-ocean#1505 from marshallward/use_fgnv_flag_fix
Browse files Browse the repository at this point in the history
(*) N2_floor init fix when FGNV streamfn disabled
  • Loading branch information
marshallward authored Oct 2, 2021
2 parents 503df0e + 456de80 commit 4d3d10e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parameterizations/lateral/MOM_thickness_diffuse.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1995,6 +1995,7 @@ subroutine thickness_diffuse_init(Time, G, GV, US, param_file, diag, CDp, CS)
call get_param(param_file, mdl, "OMEGA", omega, &
"The rotation rate of the earth.", &
default=7.2921e-5, units="s-1", scale=US%T_to_s, do_not_log=.not.CS%use_FGNV_streamfn)
CS%N2_floor = 0.
if (CS%use_FGNV_streamfn) CS%N2_floor = (strat_floor*omega)**2
call get_param(param_file, mdl, "DEBUG", CS%debug, &
"If true, write out verbose debugging data.", &
Expand Down

0 comments on commit 4d3d10e

Please sign in to comment.