sirocco-rt / sirocco

This is the repository for Sirocco, the radiative transfer code used to model winds in AGN and other systems
https://sirocco-rt.readthedocs.io/en/latest/
GNU General Public License v3.0
30 stars 24 forks source link

Fix istat logic for bug #1093 #1105

Closed jhmatthews closed 1 month ago

jhmatthews commented 1 month 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.