Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #84 from fusion-energy/develop
Browse files Browse the repository at this point in the history
minor refactoring
  • Loading branch information
shimwell authored Oct 27, 2021
2 parents 904c8a2 + 3356ea9 commit 41bd3a1
Show file tree
Hide file tree
Showing 13 changed files with 127 additions and 1,416 deletions.
361 changes: 0 additions & 361 deletions examples/cell_tally_example.ipynb

This file was deleted.

7 changes: 0 additions & 7 deletions examples/cell_tally_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,3 @@
materials=materials, geometry=geometry, settings=settings, tallies=tallies
)
statepoint_file = my_model.run()

# processes the output h5 file. the process_results function contains logic on
# how to process each tally with respect to the tally multipliers and units
# involved. The fusion power input allows tallies to be scaled from the units
# of per source neutron to units such as Watts (for heating), Sv per second
# (for dose) and other convenient units.
odw.process_results(statepoint_file, fusion_power=1e9)
7 changes: 0 additions & 7 deletions examples/regular_2d_mesh_tally_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,3 @@
materials=materials, geometry=geometry, settings=settings, tallies=tallies
)
statepoint_file = my_model.run()

# processes the output h5 file. The process_results function contains logic on
# how to process each tally with respect to the tally multipliers and units
# involved. The fusion power input allows tallies to be scaled from the units
# of per source neutron to units such as Watts (for heating), Sv per second
# (for dose) and other convenient units.
odw.process_results(statepoint_file, fusion_power=1e9)
7 changes: 0 additions & 7 deletions examples/regular_3d_mesh_tally_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,3 @@
materials=materials, geometry=geometry, settings=settings, tallies=tallies
)
statepoint_file = my_model.run()

# processes the output h5 file. The process_results function contains logic on
# how to process each tally with respect to the tally multipliers and units
# involved. The fusion power input allows tallies to be scaled from the units
# of per source neutron to units such as Watts (for heating), Sv per second
# (for dose) and other convenient units.
odw.process_results(statepoint_file, fusion_power=1e9)
Loading

0 comments on commit 41bd3a1

Please sign in to comment.