Skip to content

Commit

Permalink
Eliminate unneeded diagnostic arrays
Browse files Browse the repository at this point in the history
  Eliminated 18 unnecessary 3-d allocatable arrays and 5 2-d allocatable arrays
from the MOM_diagnostics control structure, replacing them with reused local
stack arrays.  Also collected the registration of time derivatives and the
allocation of memory for intermediary diagnostics in set_dependent_diagnostics.
All answers and output are bitwise identical.
  • Loading branch information
Hallberg-NOAA authored and marshallward committed Dec 14, 2021
1 parent 8f5dc28 commit cf931b1
Showing 1 changed file with 206 additions and 324 deletions.
Loading

0 comments on commit cf931b1

Please sign in to comment.