mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Allowed read_tallies_xml to run in plotting mode, only to read mesh info
This commit is contained in:
parent
9ef26276c8
commit
378aa92e66
1 changed files with 5 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ contains
|
|||
if (run_mode /= MODE_PLOTTING) call read_cross_sections_xml()
|
||||
call read_geometry_xml()
|
||||
call read_materials_xml()
|
||||
if (run_mode /= MODE_PLOTTING) call read_tallies_xml()
|
||||
call read_tallies_xml()
|
||||
if (cmfd_run) call configure_cmfd()
|
||||
|
||||
end subroutine read_input_xml
|
||||
|
|
@ -1909,7 +1909,7 @@ contains
|
|||
end if
|
||||
|
||||
! Allocate tally array
|
||||
if (n_user_tallies > 0) then
|
||||
if (n_user_tallies > 0 .and. run_mode /= MODE_PLOTTING) then
|
||||
call add_tallies("user", n_user_tallies)
|
||||
end if
|
||||
|
||||
|
|
@ -2058,6 +2058,9 @@ contains
|
|||
call mesh_dict % add_key(m % id, i)
|
||||
end do
|
||||
|
||||
! We only need the mesh info for plotting
|
||||
if (run_mode == MODE_PLOTTING) return
|
||||
|
||||
! ==========================================================================
|
||||
! READ TALLY DATA
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue