ccpp-framework icon indicating copy to clipboard operation
ccpp-framework copied to clipboard

Add constituent tendency capability

Open peverwhee opened this issue 1 year ago • 0 comments

Summary Adds constituent tendency array and enables the use of individual constituent tendency variables.

Description In order to facilitate time-splitting, this PR adds/enables the following:

  • ccpp_constituent_tendencies: standard name for constituent tendencies array
  • standard names of the form "tendency_of_CONSTITUENT" now handled by the framework
    • must also include "constituent = True" in metadata for the tendency

User interface changes?: Yes, but optional User can now use the following in scheme metadata:

  • ccpp_constituent_tendencies (standard name for the array of constituent tendencies)
  • tendency_of_CONSTITUENT (tendency array for a specific constituent)
  • constituent = True (specifies variable will be handled by constituents object)

Testing: test removed: None unit tests: Added doctests to new check_tendency_variables function in host_cap.F90 system tests: Modified advection_test to use tendency variable and tendency array manual testing: Updates run in CAM-SIMA

peverwhee avatar Aug 22 '24 22:08 peverwhee