Adding geometry output to the reflecting boundary DAGMC test.

This commit is contained in:
Patrick Shriwise 2020-12-06 13:43:11 -06:00
parent 9c2f9b523b
commit bac09e6295

View file

@ -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')