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

User interface to info object in MAPL3 #3024

Open
tclune opened this issue Sep 10, 2024 · 0 comments
Open

User interface to info object in MAPL3 #3024

tclune opened this issue Sep 10, 2024 · 0 comments
Labels
📈 MAPL3 MAPL 3 Related 🎁 New Feature This is a new feature

Comments

@tclune
Copy link
Collaborator

tclune commented Sep 10, 2024

Because import and export fields share their ESMF info object in MAPL3, we need high level interfaces to ESMF info that component developers can use to control their attributes.

  1. Some attributes are intentionally shared. An import spec can specify a list of attributes that the export spec must satisfy. Such shared specs should go into a shared part of the name space. (Provisionally this could be "MAPL/shared") The interface might be something like:
call MAPL_InfoGetShared(field, attr_name, attr_value, _RC)

(and SetShared)

  1. Other attributes are intentionally private. Here the obvious namespace control is the component name as that is unique by MAPL3 requirements. "MAPL/". Of course that means the interface needs access to the component name ...
call MAPL_InfoGetPrivate(field, comp_name, attr_name, attr_value, _RC)

(and SetPrivate)

Should be a separate ticket, but we also need to figure out how to set shared attributes before components get them. Different init phases?

@tclune tclune added 🎁 New Feature This is a new feature 📈 MAPL3 MAPL 3 Related labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📈 MAPL3 MAPL 3 Related 🎁 New Feature This is a new feature
Projects
None yet
Development

No branches or pull requests

1 participant