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

DRAFT: Capgen in SCM: DDT subfields into Group Caps #640

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

dustinswales
Copy link
Collaborator

@dustinswales dustinswales commented Feb 4, 2025

Summary

Allow for sub components of a DDT to be passed into the Group caps from the Host cap .

Description

This PR adds recursive searching for DDTs when creating the call strings to the Group caps. This preserves the full reference in the call string.

Snippet from test_host_ccpp_cap.F90 before the change to ddt_library.py:
sfc_up_sw=phys_state%sfc_up_sw(col_start:col_end)

After, with full reference in call string:
sfc_up_sw=phys_state%fluxSW%sfc_up_sw(col_start:col_end)

User interface changes?: No

Fixes: #639

This is built on #637

Testing:
New testing added to pass subfields of DDT into scheme.

@climbfuji
Copy link
Collaborator

Since this is built on top of #637, I'll wait with reviewing until that PR is merged

@dustinswales dustinswales marked this pull request as draft February 6, 2025 16:54
@mkavulich mkavulich changed the title Capgen in SCM: DDT subfields into Group Caps DRAFT: Capgen in SCM: DDT subfields into Group Caps Feb 13, 2025
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