-
Notifications
You must be signed in to change notification settings - Fork 727
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Promote wwE and wwI to "i1" variables for performance
The memory-sized local variable wwE and wwI were allocated on the stack for rk_tendency, and for each of the multiple calls to rk_scalar_tend. These are each called for every RK time step. The mods allocate the space in the solver once per model time step, and since the variables are "i1", they are not kept during a nested domain. Changes to be committed: modified: Registry/Registry.EM_COMMON modified: dyn_em/module_em.F modified: dyn_em/solve_em.F
- Loading branch information
Showing
3 changed files
with
11 additions
and
9 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
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