-
Notifications
You must be signed in to change notification settings - Fork 435
ZM cleanup - refactor handling of parameters and constants #7300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
69af0d2
to
f4b357d
Compare
f4b357d
to
2802668
Compare
|
Note to self - this needs to stay in draft mode until PR #7281 is merged and this branch can be rebased. |
2309211
to
c49c2d3
Compare
The following tests pass on Chrysalis, but with the expected "NLFAIL"
|
The performance of the SMS_Ld32 tests are indentical
|
waiting on reviewer approval. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With only nl changes and tests passing, looks good to me too.
ZM cleanup - refactor handling of parameters and constants This phase focused on how ZM handles namelist parameters and constant values - building off of PR #7232 that created the zm_conv_types module to hold definitions and methods of the zm_const_t and zm_param_t derived types. Here we expand the use of these throughout the code, as well as move the zm_conv_readnl (originally zmconv_readnl) to the interface level to decrease the external dependencies needed to build zm_conv.F90, which should help make C++ bridging easier. This PR also fixes the redundant namelist parameters for the DCAPE and ULL closure options, which originally had 3 parameters controlling 2 independent options. Now there will be a single flag for either option. [BFB] * whannah/eam/zm-cleanup-10: fix index for printing ZM derived types add missing zm_param to use statement cosmetic fix linter fix refactor zm_conv_readnl
Merged to next |
This phase focused on how ZM handles namelist parameters and constant values - building off of PR #7232 that created the
zm_conv_types
module to hold definitions and methods of thezm_const_t
andzm_param_t
derived types. Here we expand the use of these throughout the code, as well as move thezm_conv_readnl
(originallyzmconv_readnl
) to the interface level to decrease the external dependencies needed to buildzm_conv.F90
, which should help make C++ bridging easier.This PR also fixes the redundant namelist parameters for the DCAPE and ULL closure options, which originally had 3 parameters controlling 2 independent options. Now there will be a single flag for either option.
[BFB]