mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
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:
parent
249a64c0f1
commit
f7e0c3de9d
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue