forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous flux limiter which doesn't allow the diffusive flux to be greater than a 1/4 of the tracer inventory was incorrect when the sign of the flux was negative. This has been fixed. Incidentally, an additional 'if' condition was placed at the top of the loop calculating the layer fluxes to avoid unnecessary evaluations when we don't expect to be calculating a flux.
- Loading branch information
Showing
1 changed file
with
36 additions
and
31 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