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

Add support for scheme subcycling #379

Merged
merged 1 commit into from
Jun 10, 2021

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Jun 9, 2021

Note

This PR replaces #376. It contains exactly the same changes, but as new commits due to the "UFS code commit process" tutorial held June 9/10, 2021. For discussion and approval of the original code changes, see #376.

Description

Add necessary logic to pass number of subcycles to schemes in form of a variable with CCPP standard name. This is done in exactly the same way as for the existing current iteration.

The new logic requires to buffer the calls to the schemes in a subcycle body loop and prepend/append the loop control as needed before adding it to the cap.

Testing

See ufs-community/ufs-weather-model#632

Dependencies

#379
NCAR/ccpp-physics#676
NOAA-EMC/fv3atm#328
ufs-community/ufs-weather-model#632

…d buffer writing subcycle block to auto-generated caps
Copy link
Contributor

@llpcarson llpcarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, pending RTs

@llpcarson llpcarson merged commit 075e08e into NCAR:main Jun 10, 2021
@climbfuji climbfuji deleted the thompson_subcycling_v2_tutorial branch June 27, 2022 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants