hyperion-rt / hyperion

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

Add out of grid warnings for Voronoi grid and fix warnings for regular 3-d grids #127

Closed astrofrog closed 9 years ago

astrofrog commented 9 years ago

Output is now:

 [grid_physics] pre-computing jnu_var

        # Photons    CPU time (sec)    Photons/sec  
      ----------------------------------------------
 WARNING: photon not in grid (in x direction) [find_cell]
 WARNING: place_in_cell failed - killing [place_in_cell]
 ------------------------------------------------------------------------
 ERROR   : photon was not emitted inside a cell - this usually indicates 
           that a source is not inside the grid
 WHERE   : emit
 ------------------------------------------------------------------------

  *** Execution aborted on 05 March 2015 at 12:27:35 ***