incorporate leakage into fixed source test

This commit is contained in:
walshjon 2015-08-13 23:01:02 -07:00
parent b98837e58b
commit fc5fd61b7f
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,6 @@
tally 1:
4.483337E+02
2.017057E+04
leakage:
9.820000E+00
9.648000E+00

View file

@ -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