From f7e0c3de9d16050dfaa93747c208d437c8c082a1 Mon Sep 17 00:00:00 2001 From: Bryan Herman Date: Thu, 12 Apr 2012 08:25:18 -0700 Subject: [PATCH] fixed bug when using an alternate mesh in tallies.xml from cmfd.xml, have to add appropriate key to dictionary since code resets mesh id according to dictionary entries --- src/cmfd_input.F90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmfd_input.F90 b/src/cmfd_input.F90 index 94a6b21e55..945b6d32b2 100644 --- a/src/cmfd_input.F90 +++ b/src/cmfd_input.F90 @@ -191,7 +191,7 @@ contains m % upper_right = m % lower_left + m % dimension * m % width ! add mesh to dictionary - call dict_add_key(mesh_dict, m % id, 1) + call dict_add_key(mesh_dict, m % id, n_user_meshes + 1) ! allocate tallies if (.not. allocated(tallies)) allocate(tallies(n_tallies))