AFD-Illinois / ipole

Polarized covariant radiative transport code
16 stars 12 forks source link

histogram of emission #90

Closed gnwong closed 1 year ago

gnwong commented 1 year ago

Port forward GNW's old zone-by-zone emission histogramming code. Just drops any (signed) change in intensity from unpolarized transport (dI) into a bin corresponding to the nearest zone (via Xtoijk).

Implementation adds a static global array of grid size, accessible to any file importing grid.h. Not modular but not invasive...