Hex lattice output paths use more intuitive indexing scheme in tallies.out

This commit is contained in:
Will Boyd 2015-05-14 20:30:55 -04:00
parent dd2524496e
commit 2a7a0a7a30

View file

@ -2401,8 +2401,9 @@ contains
lat_offset = lat % offset(map, old_k, old_l, old_m)
offset = offset + lat_offset
next_univ => universes(lat % universes(old_k, old_l, old_m))
path = trim(path) // "(" // trim(to_str(old_k)) // &
"," // trim(to_str(old_l)) // "," // &
path = trim(path) // "(" // &
trim(to_str(old_k - lat % n_rings)) // "," // &
trim(to_str(old_l - lat % n_rings)) // "," // &
trim(to_str(old_m)) // ")"
call find_offset(map, goal, next_univ, final, offset, path)
return