forked from MITgcm/MITgcm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New GM runtime parameter to allow in/excluding dynamically computed K…
…appa contributions in Redi-tensor (MITgcm#769) * new GM runtime parm. to allow in/excluding dynamic K in Redi-tensor - eg. for Visbeck - true by default (current behavior) * rename GM_varKredi -> GM_isoFac_calcK and make it the runtime parm * address 3 comments: - add the new factor GM_isoFac_calcK to the Kwz-coefficient (was missing) - update setting of GM_ExtraDiag the skew-flux form - remove GM_advect * remove leftover GM_useVarKforRedi * Fix setting of GM_ExtraDiag - move resetting of GM_useLeithQG to F (if viscC2LeithQG=0) from gmredi_check.F to gmredi_readparms.F - fix the setting of GM_ExtraDiag (for background 3-D read from file, for QG-Leith, for Bates 3-D K) This does matter since, when incorrectly set to F, was missing 2 terms in isopycnal diffusion tensor - add more check and stop for the case #undef GM_NON_UNITY_DIAGONAL * refine test on 3-D file names * cleaning Remove Viscbeck code inside #ifndef GM_NON_UNITY_DIAGONAL since a check & stop was added for this case. Also add 2 lines of comments to justify keeping this block (from PR MITgcm#537) * update ref. output after fixing bug Setting of GM_ExtraDiag has been fixed (if using background 3D-K from file, or QG-Leith or Bates 3-D K) and is now set to True in this test experiment. * Also account for pkg/ctrl when setting GM_ExtraDiag for now, just used CPP option ALLOW_KAPREDI_CONTROL and ALLOW_KAPGM_CONTROL * Document pkg/gmredi addition (new param) and fix --------- Co-authored-by: Jean-Michel Campin <[email protected]> Co-authored-by: Jean-Michel Campin <[email protected]>
- Loading branch information
1 parent
1ac7194
commit f5509be
Showing
6 changed files
with
660 additions
and
586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.