forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conditional thermodynamic diags; Flux diag bugfix
Several thermodynamic diabatic diagnostics in the legacy_diabatic update could be registered and computed when the thermodynamics was disabled, so these are now only conditionally checked and registered when `ENABLE_THERMODYNAMICS` is true. We also fixed a bug in the flux diagnostic registration by splitting the logical association and memory access into two separate stages, since it was raising errors in builds with stricter memory access.
- Loading branch information
1 parent
91f3719
commit efe03c1
Showing
2 changed files
with
54 additions
and
42 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