hatfullr / fluxcal

GNU General Public License v3.0
0 stars 0 forks source link

Replace opacit with opac_sph(i) #8

Closed hatfullr closed 4 years ago

hatfullr commented 5 years ago

We now calculate each particles' opacity when reading in the fluxcal data files. Thus, instead of finding the opacity wherever we need it by calling getOpacitySub, just replace opacit with opac_sph(i) in each instance. Then delete the getOpacitySub calls.

hatfullr commented 5 years ago

We actually don't use opacit that much and when we do it's when we don't have any available particle index.

It would still be useful to have for adding to lib/output.f. We should also add entropy to the standard output routine.