karllark / DIRTY_dustrt

DIRTY: 3D dust radiative transfer for dusty astrophysical sources
https://dirty-dustrt.readthedocs.io
5 stars 1 forks source link

fix bug in output of radiation field nphotons #34

Closed karllark closed 8 months ago

karllark commented 8 months ago

Weird nphotons output traced to C++ variable being and int instead of a short int. Using short int and TSHORT/16 in the FITS creation means the file is a factor of 2 smaller.