mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -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
|
|
@ -1,3 +1,6 @@
|
|||
tally 1:
|
||||
4.483337E+02
|
||||
2.017057E+04
|
||||
leakage:
|
||||
9.820000E+00
|
||||
9.648000E+00
|
||||
|
|
|
|||
|
|
@ -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