Microphysics icon indicating copy to clipboard operation
Microphysics copied to clipboard

create a struct to hold the Microphysics runtime parameters

Open zingale opened this issue 2 years ago • 2 comments

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.

zingale avatar Jan 02 '24 00:01 zingale

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

psharda avatar Jan 02 '24 21:01 psharda

tests pass: http://groot.astro.sunysb.edu/Microphysics/test-suite/gfortran/2024-05-07-001/index.html

zingale avatar May 07 '24 14:05 zingale