hyperion-rt / hyperion

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

Refactor the way we deal with getting spectra for raytracing #126

Closed astrofrog closed 9 years ago

astrofrog commented 9 years ago

This is experimental but the idea is to try and make it so that it is the source subpackage's responsability to provide spectra that are re-gridded for the raytracing, and to deal with caching if relevant. This then allows us to consider using raytracing for moving sources and also means that image_type.f90 doesn't have to deal with the caching.

astrofrog commented 9 years ago

Before merging, I need to verify the performance implications of this

astrofrog commented 9 years ago

The caching is now done at the level of the raytracing module, which is the right thing to do. Now testing bit-level tests locally since Travis passes here.

astrofrog commented 9 years ago

All bit-level tests pass, now testing performance hit.