Skip to content

Commit

Permalink
Merge pull request #65 from fusion-energy/adding_mesh_filter_check
Browse files Browse the repository at this point in the history
Fixed example
  • Loading branch information
shimwell authored Feb 29, 2024
2 parents 7e1b67b + 2d42e52 commit ee29b49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/plot_minimal_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@
dimension=[40, 40, 40],
)
mesh_filter = openmc.MeshFilter(mesh)
energy_filter = openmc.EnergyFilter([0, 1e6, 2e6])
mesh_tally_1 = openmc.Tally(name="mesh_tally")
mesh_tally_1.filters = [mesh_filter, energy_filter]
mesh_tally_1.filters = [mesh_filter]
mesh_tally_1.scores = ["heating"]
my_tallies.append(mesh_tally_1)

Expand Down

0 comments on commit ee29b49

Please sign in to comment.