Skip to content

Jax support for helper functions#792

Merged
jkirk5 merged 2 commits intoOpenMDAO:mainfrom
jkirk5:jax
Jun 12, 2025
Merged

Jax support for helper functions#792
jkirk5 merged 2 commits intoOpenMDAO:mainfrom
jkirk5:jax

Conversation

@jkirk5
Copy link
Copy Markdown
Contributor

@jkirk5 jkirk5 commented Jun 10, 2025

Summary

Adds primal_name creation to helper functions add_aviary_input/add_aviary_output. Colons are replaced with double underscores to produce a primal name that is a valid python variable while retaining readable hierarchy separation.

Example: aircraft:wing:aspect_ratio gets the primal name aircraft__wing__aspect_ratio

Related Issues

  • Resolves #

Backwards incompatibilities

Minimum supported OpenMDAO version is now 3.37

New Dependencies

None

@xjjiang
Copy link
Copy Markdown
Contributor

xjjiang commented Jun 12, 2025

Maybe add a simple unit test?

@jkirk5 jkirk5 merged commit 332646e into OpenMDAO:main Jun 12, 2025
6 checks passed
@jkirk5 jkirk5 deleted the jax branch January 14, 2026 18:52
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