Closed Edward-RSE closed 7 months ago
FYI, the checks fail on the Balmer test which is also happening on the dev branch.
Obviously, we want to wait to merge this until I return from Tahiti in about 10 days from now, given that this merge will refactor a good bit of the code.
@Edward-RSE the dev branch is passing tests since Knox reverted the integration changes, so is that weird? Or does it mean a pull/rebase is needed?
Oops, it's actually failing in fixed temperature mode for this model. Brb, fixing and adding a new test
In the end the test was failing because of the Balmer test using a shell wind, not because of fixed temperature mode (which seems to work, although it would be good to get a proper test model for that). However, now I'm having an issue with some memory management at the end of the program so I'm going to convert this PR back to draft until that's fixed.
I also found another issue to do with allocating memory for domains in the utility programs, which wasn't caught in the test suites. It would be good to also test the entire menagerie of programs.
This should be good to go now. There was an issue relating to setting up 1D models, which is now fixed.
This PR merges in changes related to the second HPC RSE project at the University of Southampton. There were X aims to this project:
wind_rad_init()
,wind_cooling()
andupdate_wind()
)This is a large pull request and it has touched a lot of files. There have been a lot of changes to the source code and I have also re-normalized the style using
run_indent.py
which touched files I did not work on. The directory structure of unit test data has also been modified, which has resulted in file changes.Detailed Changes
communicate_macro.c
,communicate_plasma.c
,communicate_spectra.c
andcommunicate_wind.c
MPI_Pack_size
get_max_cells_per_rank
wind_cooling()
wind_rad_init()
init_plasma_rad_properties()
andinit_macro_rad_properties()
init_macro_rad_properties()
has been parallelised, but only when computing the macro atom recombination coefficientsdefine_wind()
setup_atomic_data()
define_wind()
define_wind()
in its entirety. Ideally, more tests should be added which test smaller units of the grid creation process.source
directory-Wno-deprecated-non-prototype
has been added to stop complaints raised by recent Clang and GCC compilersmake version
recipe to quickly makeversion.h