mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Added distribmats flag to output setting
This commit is contained in:
parent
5378a9d8bf
commit
6a03bc1b88
1 changed files with 2 additions and 1 deletions
|
|
@ -281,7 +281,8 @@ class SettingsFile(object):
|
|||
|
||||
for element in output:
|
||||
|
||||
if not element in ['summary', 'cross_sections', 'tallies']:
|
||||
keys = ['summary', 'cross_sections', 'tallies', 'distribmats']
|
||||
if not element in keys:
|
||||
msg = 'Unable to set output to {0} which is unsupported by ' \
|
||||
'OpenMC'.format(element)
|
||||
raise ValueError(msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue