sirocco-rt / sirocco

This is the repository for Sirocco, the radiative transfer code used to winds in AGN and other syatems
GNU General Public License v3.0
27 stars 24 forks source link

Fix istat logic for bug #1093 #1105

Closed jhmatthews closed 1 day ago

jhmatthews commented 1 day ago

This fixes the logic of the code in trans_phot to correctly destroy packets due to adiabatic cooling. I've verified that packets get destroyed at about the right rate and that increasing the adiabatic cooling to the dominant process results in the expected increase of the packets destroyed.

I've also changed the version to py88x to signify the final version of the code named python before the sirocco rename.