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

This commit is contained in:
Bryan Herman 2012-04-12 08:25:18 -07:00
parent 249a64c0f1
commit f7e0c3de9d

View file

@ -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))