-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dynamics: move 'halo_info_mask' to module 'ice_dyn_shared'
The masked halo 'halo_info_mask', used for halo updates when 'maskhalo_dyn' is true, is currently declared as a local variable in each of the dynamics driver (subroutines 'evp', 'eap' and 'implicit_solver'). Make this variable a module variable in 'ice_dyn_shared', and 'use' this variable in each of the dynamics drivers. This has the benefit of not requiring 'halo_info_mask' to be passed to 'ice_HaloUpdate_vel' since this subroutine is in 'ice_dyn_shared' so it has access to it. This allows it to be removed from the argument list in a few subroutines in 'ice_dyn_vp'.
- Loading branch information
1 parent
e609c48
commit af8d03e
Showing
4 changed files
with
21 additions
and
39 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
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