21cmfast / 21cmFAST

Official repository for 21cmFAST: a code for generating fast simulations of the cosmological 21cm signal
MIT License
56 stars 37 forks source link

Halobox memory improvements #380

Closed daviesje closed 2 months ago

daviesje commented 3 months ago

This small change explicitly purges the HaloBox fields which are no longer required at each timestep. The SFR at previous redshifts is used to construct the XraySourceBox but we don't need the other fields.

daviesje commented 3 months ago

Thanks, I've made the changes to the coeval function, noting that the issues in #376 to do with the coeval boxes remain.