hyperion-rt / hyperion

Hyperion Radiative Transfer Code
http://www.hyperion-rt.org
BSD 2-Clause "Simplified" License
52 stars 26 forks source link

Make it possible to have sparse density array #162

Open astrofrog opened 9 years ago

astrofrog commented 9 years ago

In some cases (e.g. for medical applications) we might only want one kind of tissue per cell. It would be inefficient to have one density grid per tissue type, so instead we could create an abstract interface to the density array (and other arrays) and store this more efficiently.