NCAR / ccpp-framework

Common Community Physics Package (CCPP)
http://www.dtcenter.org/community-code/common-community-physics-package-ccpp/
Other
26 stars 64 forks source link

Add support for scheme subcycling #376

Closed climbfuji closed 3 years ago

climbfuji commented 3 years ago

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 https://github.com/ufs-community/ufs-weather-model/pull/595

Dependencies

https://github.com/NCAR/ccpp-physics/pull/666 https://github.com/NCAR/ccpp-framework/pull/376 https://github.com/NOAA-EMC/fv3atm/pull/316 https://github.com/ufs-community/ufs-weather-model/pull/595

climbfuji commented 3 years ago

This PR was replaced with an identical PR https://github.com/NCAR/ccpp-framework/pull/379 as part of the "UFS code commit process tutorial".