mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Add missing Settings.write_initial_source property
This commit is contained in:
parent
c2fe6327e2
commit
eca57538cd
2 changed files with 27 additions and 1 deletions
|
|
@ -54,6 +54,7 @@ def test_export_to_xml(run_in_tmpdir):
|
|||
s.log_grid_bins = 2000
|
||||
s.photon_transport = False
|
||||
s.electron_treatment = 'led'
|
||||
s.write_initial_source = True
|
||||
|
||||
# Make sure exporting XML works
|
||||
s.export_to_xml()
|
||||
|
|
@ -110,3 +111,4 @@ def test_export_to_xml(run_in_tmpdir):
|
|||
assert s.log_grid_bins == 2000
|
||||
assert not s.photon_transport
|
||||
assert s.electron_treatment == 'led'
|
||||
assert s.write_initial_source == True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue