Skip to content

Commit

Permalink
reworded comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Apr 8, 2024
1 parent 6698759 commit 3624824
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@
dose_tally.name = "photon_dose_on_mesh"
tallies = openmc.Tallies([dose_tally])

# trying to hack the indices into the umesh object bt this didn't work as
# umesh_from_sp.indices = [i+1 for i in range(len(mesh_vols))]
# adding the indices into the umesh object. In the future this won't be needed as openmc will do this internally
umesh_from_sp.indices = [i+1 for i in range(len(mesh_vols))]

model_gamma = openmc.Model(my_geometry, my_materials, my_gamma_settings, tallies)

Expand Down

0 comments on commit 3624824

Please sign in to comment.