-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mark-petersen/mpas/dynamic_time_levels' (PR #5766)
Add dynamic time level allocation from namelist flag Currently, the number of time levels in all mpas cores must be set in the Registry.xml file for each structure as follows: <var_struct name="state" time_levs="2"> This PR allows dynamic time level specifications, so that each var_struct may be controlled with a namelist flag: <var_struct name="state" time_levs="namelist:config_number_of_time_levels"> and the number of time levels may be changed from the namelist at run time. This option is now available to all MPAS cores, but is optional, so if no changes are made to the Registry file, the behavior remains identical to before. The PR includes a check in parse.c to ensure that the config flag name is valid and is an integer. [NML] [BFB]
- Loading branch information
Showing
8 changed files
with
225 additions
and
160 deletions.
There are no files selected for viewing
336 changes: 179 additions & 157 deletions
336
components/mpas-framework/src/tools/registry/gen_inc.c
Large diffs are not rendered by default.
Oops, something went wrong.
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
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