mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Adding geometry output to the reflecting boundary DAGMC test.
This commit is contained in:
parent
9c2f9b523b
commit
bac09e6295
1 changed files with 5 additions and 0 deletions
|
|
@ -27,6 +27,10 @@ class UWUWTest(PyAPITestHarness):
|
|||
|
||||
model.settings.export_to_xml()
|
||||
|
||||
# geometry
|
||||
dag_univ = openmc.DAGMCUniverse("dagmc.h5m")
|
||||
model.geometry = openmc.Geometry(root=dag_univ)
|
||||
|
||||
# tally
|
||||
tally = openmc.Tally()
|
||||
tally.scores = ['total']
|
||||
|
|
@ -34,6 +38,7 @@ class UWUWTest(PyAPITestHarness):
|
|||
model.tallies = [tally]
|
||||
|
||||
model.tallies.export_to_xml()
|
||||
model.export_to_xml()
|
||||
|
||||
def test_refl():
|
||||
harness = UWUWTest('statepoint.5.h5')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue