Skip to content

Commit 41bd3a1

Browse files
authored
Merge pull request #84 from fusion-energy/develop
minor refactoring
2 parents 904c8a2 + 3356ea9 commit 41bd3a1

13 files changed

+127
-1416
lines changed

examples/cell_tally_example.ipynb

Lines changed: 0 additions & 361 deletions
This file was deleted.

examples/cell_tally_example.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,3 @@
7878
materials=materials, geometry=geometry, settings=settings, tallies=tallies
7979
)
8080
statepoint_file = my_model.run()
81-
82-
# processes the output h5 file. the process_results function contains logic on
83-
# how to process each tally with respect to the tally multipliers and units
84-
# involved. The fusion power input allows tallies to be scaled from the units
85-
# of per source neutron to units such as Watts (for heating), Sv per second
86-
# (for dose) and other convenient units.
87-
odw.process_results(statepoint_file, fusion_power=1e9)

examples/regular_2d_mesh_tally_example.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,3 @@
7777
materials=materials, geometry=geometry, settings=settings, tallies=tallies
7878
)
7979
statepoint_file = my_model.run()
80-
81-
# processes the output h5 file. The process_results function contains logic on
82-
# how to process each tally with respect to the tally multipliers and units
83-
# involved. The fusion power input allows tallies to be scaled from the units
84-
# of per source neutron to units such as Watts (for heating), Sv per second
85-
# (for dose) and other convenient units.
86-
odw.process_results(statepoint_file, fusion_power=1e9)

examples/regular_3d_mesh_tally_example.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,3 @@
7070
materials=materials, geometry=geometry, settings=settings, tallies=tallies
7171
)
7272
statepoint_file = my_model.run()
73-
74-
# processes the output h5 file. The process_results function contains logic on
75-
# how to process each tally with respect to the tally multipliers and units
76-
# involved. The fusion power input allows tallies to be scaled from the units
77-
# of per source neutron to units such as Watts (for heating), Sv per second
78-
# (for dose) and other convenient units.
79-
odw.process_results(statepoint_file, fusion_power=1e9)

0 commit comments

Comments
 (0)