From 2a7a0a7a309593047515b9d43a9df108d2ebfc58 Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Thu, 14 May 2015 20:30:55 -0400 Subject: [PATCH] Hex lattice output paths use more intuitive indexing scheme in tallies.out --- src/output.F90 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/output.F90 b/src/output.F90 index 2d22059acd..de58346c8f 100644 --- a/src/output.F90 +++ b/src/output.F90 @@ -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