forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+Only do reads from root_PE for get_var_sizes
Modified get_var_sizes to have the root_PE do the reading and then broadcast this information to the other processors, unless directed not to via the new optional argument all_read. Part of this involved splitting read_var_sizes out from get_var_sizes. Also added the new optional argument alt_units to verify_variable_units, to give some flexibility when checking units without hard coding the "meters" to "m" comparison within verify_variable_units.
- Loading branch information
1 parent
2f5a0c8
commit 14727e5
Showing
2 changed files
with
88 additions
and
24 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