From 0f08cfe3d01cf8443f2cc9a60bb11be0870b5f4b Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Fri, 6 Nov 2020 08:22:01 -0600 Subject: [PATCH] Now writing a geometry file regardless CSG/CAD geometry use. --- openmc/model/model.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openmc/model/model.py b/openmc/model/model.py index 7d6acb281c..0501f03f3a 100644 --- a/openmc/model/model.py +++ b/openmc/model/model.py @@ -179,8 +179,7 @@ class Model: d.mkdir(parents=True) self.settings.export_to_xml(d) - if not self.settings.dagmc: - self.geometry.export_to_xml(d) + self.geometry.export_to_xml(d) # If a materials collection was specified, export it. Otherwise, look # for all materials in the geometry and use that to automatically build