forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bugs in Leith add new input parameter
This PR fixes a few bugs in MOM_hor_visc when using Leith and Modified_Leith.These are: 1) deletes unecessary call to pass_var; 2) changes the j indices to loop over when computing divergence gradient (div_xx_d?) and its magnitude (grad_div_mag_?) A runtime parameter (ADD_LES_VISCOSITY) to control if the viscosity from Smagorinsky and Leith should be added to the background value, rather than taking the maximum value, has also been added.
- Loading branch information
1 parent
a2d9636
commit 8c95cc0
Showing
1 changed file
with
26 additions
and
22 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