Skip to content

Commit

Permalink
export group
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Jan 30, 2024
1 parent e5049c6 commit d58556a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/openmc_source_plotter/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ def sample_initial_particles(self, n_samples: int = 1000, prn_seed: int = None):
settings.particles = 1
settings.batches = 1
settings.source = self
settings.export_to_xml()

materials = openmc.Materials()
materials.export_to_xml()

sph = openmc.Sphere(r=9999999999, boundary_type="vacuum")
cell = openmc.Cell(region=-sph)
geometry = openmc.Geometry([cell])

settings.export_to_xml()
materials.export_to_xml()
geometry.export_to_xml()

openmc.lib.init(output=False)
Expand Down

0 comments on commit d58556a

Please sign in to comment.