Skip to content
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

Adding an init & fini function pointer to the Suite. #9

Merged
merged 5 commits into from
Jun 23, 2017

Conversation

t-brown
Copy link
Collaborator

@t-brown t-brown commented Jun 20, 2017

Adding the ability to have optional init and fini function pointer elements in a suite xml. These allow for arbitrary subroutines (in the same way a scheme element does) to be used for suite initialization and finalization.

It is preliminary work to enable FV3 and IPDv4/GFS-Physics integration.

t-brown added 5 commits June 8, 2017 12:16
Adding the initial framework to call a suite's init and fini
subroutines.

This is only the xml parsing and saving the subroutine name to
the ccpp_suite_t.

Still need to add the ability to call those subroutines.
A suite can have an init and fini key words in the XML schema.
This meant I re-worked how the XML is parsed and moved the
element parsing into the ccpp_xml.f90 file (out of the
ccpp_suite.f90). This reduces the ugliness of the suite init
subroutine.

The library keyword for the suite XML is now required.

Also changed the STR_LEN to be CCPP_STR_LEN to be consistent
with the CCPP naming convention.
The FV3 with the IPDv4 and GFS physics use 4 big derived data types.
As a first step we'll use these IPD DDTs.
@t-brown t-brown self-assigned this Jun 20, 2017
@t-brown t-brown requested a review from davegill June 20, 2017 22:46
@t-brown t-brown merged commit a8088ea into master Jun 23, 2017
@t-brown t-brown deleted the features/suite_init_fini branch June 23, 2017 13:48
gold2718 added a commit that referenced this pull request Mar 23, 2019
Code changes to make the converter work with GFS_typedefs.F90, in particular handle !defined(X) preprocessor statements. Also: changes to top-level convert_metadata.py script that defines the logger, partially overlapping with what @gold2718 just pushed a few minutes ago.
climbfuji pushed a commit to climbfuji/ccpp-framework that referenced this pull request Nov 19, 2020
…in_init_and_finalize

Support "unblocked" variables in init and finalize
peverwhee pushed a commit that referenced this pull request Nov 7, 2023
Add new water species constituent property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant