mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Prevent tallies.out from being created if there are no tallies.
This commit is contained in:
parent
ac2c500933
commit
92b8019351
1 changed files with 3 additions and 0 deletions
|
|
@ -564,6 +564,9 @@ contains
|
|||
character(80) :: space = " " ! spaces
|
||||
type(TallyObject), pointer :: t
|
||||
|
||||
! Skip if there are no tallies
|
||||
if (n_tallies == 0) return
|
||||
|
||||
! Initialize names for tally filter types
|
||||
filter_name(T_UNIVERSE) = "Universe"
|
||||
filter_name(T_MATERIAL) = "Material"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue