forked from CICE-Consortium/CICE
-
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.
ice_diagnostics: refactor 'print_state' and 'diagnostic_abort'
Subroutines 'print_state' and 'diagnostic_abort' in module ice_diagnostics output almost exactly the same information. Add some output to 'print_state' which was only in 'diagnostic_abort' and refactor the latter to call the former, to reduce code duplication. This is a partial (this file only) cherry-pick of d673e44 (Clean up code and add several minor features (CICE-Consortium#750), 2022-08-15).
- Loading branch information
1 parent
e18ac1a
commit d7f480f
Showing
1 changed file
with
24 additions
and
23 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