mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Fix loop in openmc-track-to-vtk
This commit is contained in:
parent
8fdbbd2c43
commit
fbfdf8227c
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ def main():
|
|||
# Write coordinate values to points array.
|
||||
track_file = openmc.Tracks(fname)
|
||||
for track in track_file:
|
||||
for particle in track.particles:
|
||||
for particle in track:
|
||||
for state in particle.states:
|
||||
points.InsertNextPoint(state['r'])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue