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

create a struct to hold the Microphysics runtime parameters #1433

Merged
merged 13 commits into from
May 29, 2024

Conversation

zingale
Copy link
Member

@zingale zingale commented Jan 2, 2024

This now creates a header extern_type.H with a struct extern_t that holds all
of the runtime parameters for Microphysics. The struct is filled on initialization
and returned by init_extern_parameters(). This can replace the global version
of the runtime parameters.

This also revives the test_parameters unit test to show how to access things.

@psharda
Copy link
Collaborator

psharda commented Jan 2, 2024

Looks like we will also need to modify CMakeLists to reflect these changes. @BenWibking ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This need to be updated since #1536

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@zingale
Copy link
Member Author

zingale commented May 7, 2024

@zingale zingale merged commit 0cc5a37 into AMReX-Astro:development May 29, 2024
29 checks passed
@zingale zingale deleted the param_stuct branch May 29, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants