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

implement ability to add I/O to a Component in Group configure method #1140

Merged
merged 31 commits into from
Dec 11, 2019

Conversation

swryan
Copy link
Contributor

@swryan swryan commented Dec 10, 2019

Some models that require self-interrogation need to be able to add I/O in components from the configure method of their containing groups. (related to POEM_003).

  • implement _post_configure function
  • update IndepVarComp and library components to create inputs and outputs in _post_configure instead of setup so their "add I/O" functions can be used in configure
  • make list_inputs and list_outputs (self-interrogation) work on components before model is run
  • add example to docs that demonstrates adding I/O in configure
  • add note to docs about the use of list_inputs and list_outputs on components before the model is run

@swryan swryan merged commit c75c0cc into OpenMDAO:master Dec 11, 2019
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.

3 participants