Skip to content

Commit

Permalink
Merge pull request mom-ocean#858 from MFJansen/patch-1
Browse files Browse the repository at this point in the history
Bug fix to compute Rd_dx whenever MEKE is used
  • Loading branch information
adcroft authored Oct 5, 2018
2 parents 2701b7a + 76f80bc commit 1205624
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,7 @@ subroutine VarMix_init(Time, G, param_file, diag, CS)
CS%calculate_cg1 = CS%calculate_cg1 .or. use_FGNV_streamfn
call get_param(param_file, mdl, "USE_MEKE", use_MEKE, &
default=.false., do_not_log=.true.)
CS%calculate_Rd_dx = CS%calculate_Rd_dx .or. use_MEKE
CS%calculate_Eady_growth_rate = CS%calculate_Eady_growth_rate .or. use_MEKE
call get_param(param_file, mdl, "KHTR_PASSIVITY_COEFF", KhTr_passivity_coeff, &
default=0., do_not_log=.true.)
Expand Down

0 comments on commit 1205624

Please sign in to comment.