mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
incorporate leakage into fixed source test
This commit is contained in:
parent
b98837e58b
commit
fc5fd61b7f
2 changed files with 7 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ class FixedSourceTestHarness(TestHarness):
|
|||
outstr += '\n'.join(results) + '\n'
|
||||
tally_num += 1
|
||||
|
||||
outstr += 'leakage:\n'
|
||||
outstr += '{0:12.6E}'.format(sp._global_tallies[3][0]) + '\n'
|
||||
outstr += '{0:12.6E}'.format(sp._global_tallies[3][1]) + '\n'
|
||||
|
||||
return outstr
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue