hyperion-rt / hyperion

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

Issues with AMR: #204

Open smarandeshmukh opened 6 years ago

smarandeshmukh commented 6 years ago

I have been unable to make raytracing work with simple AMR grids. I use the same example as in #203. I get a segmentation fault with the following: `#3 0x4A7E99 in __grid_geometry_specific_MOD_find_position_in_grid at grid_geometry_amr.f90:531

4 0x4A7C26 in __grid_geometry_specific_MOD_find_cell_position at grid_geometry_amr.f90:559

5 0x4A7CE2 in __grid_geometry_specific_MOD_find_cell at grid_geometry_amr.f90:550

6 0x4A79FB in __grid_geometry_specific_MOD_place_in_cell at grid_geometry_amr.f90:565

7 0x4D7F4B in __peeled_images_MOD_peeloff_photon at images_peeled.f90:152

8 0x4EDF0D in __iteration_raytracing_MOD_do_raytracing at iter_raytracing.f90:121

9 0x4EF18C in MAIN__ at main.f90:299

` This happens after the normal imaging process has been completed. Has anybody else encountered something along these lines? A cursory glance suggests that Hyperion can't correctly identify in which cell the source resides in.

Thanks