mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
script now runs all compiler options, not survival biasing test does not work for mpi, result precision is now 12.6E
This commit is contained in:
parent
0eed581c4d
commit
d202207101
131 changed files with 223383 additions and 223336 deletions
|
|
@ -7,6 +7,11 @@ import nose
|
|||
import glob
|
||||
from subprocess import call
|
||||
|
||||
OK = '\033[92m'
|
||||
FAIL = '\033[91m'
|
||||
ENDC = '\033[0m'
|
||||
BOLD = '\033[1m'
|
||||
|
||||
pwd = os.getcwd()
|
||||
|
||||
# clean up all previous executables
|
||||
|
|
@ -15,106 +20,163 @@ for exe in openmc_exe:
|
|||
os.remove(exe)
|
||||
|
||||
# run compile test
|
||||
result = nose.run(argv=['run_tests.py','-v','test_compile'])
|
||||
if not result:
|
||||
sys.stdout.write('Did not pass compile tests.')
|
||||
result_compile = nose.run(argv=['run_tests.py','-v','test_compile'])
|
||||
if not result_compile:
|
||||
sys.stdout.write('\nDid not pass compile tests.')
|
||||
|
||||
# run gfortran tests
|
||||
print '\n--------------'
|
||||
print 'gfortran tests'
|
||||
print '--------------\n'
|
||||
sys.stdout.write('\n--------------\n')
|
||||
sys.stdout.write('gfortran tests')
|
||||
sys.stdout.write('\n--------------\n')
|
||||
os.chdir(pwd)
|
||||
os.rename(pwd + '/../src/openmc-gfortran', pwd + '/../src/openmc')
|
||||
result = nose.run(argv=['run_tests.py','-v','--exclude','test_compile'])
|
||||
if not result:
|
||||
sys.stdout.write('Did not pass gfortran tests')
|
||||
result_gfortran = nose.run(argv=['run_tests.py','-v','--exclude','test_compile'])
|
||||
if not result_gfortran:
|
||||
sys.stdout.write('\nDid not pass gfortran tests\n')
|
||||
|
||||
# run gfortran-dbg tests
|
||||
print '\n--------------'
|
||||
print 'gfortran-dbg tests'
|
||||
print '--------------\n'
|
||||
sys.stdout.write('\n--------------\n')
|
||||
sys.stdout.write('gfortran-dbg tests')
|
||||
sys.stdout.write('\n--------------\n')
|
||||
os.chdir(pwd)
|
||||
os.rename(pwd + '/../src/openmc-gfortran-dbg', pwd + '/../src/openmc')
|
||||
result = nose.run(argv=['run_tests.py','-v','--exclude','test_compile'])
|
||||
if not result:
|
||||
sys.stdout.write('Did not pass gfortran-dbg tests')
|
||||
result_gfortran_dbg = nose.run(argv=['run_tests.py','-v','--exclude','test_compile'])
|
||||
if not result_gfortran_dbg:
|
||||
sys.stdout.write('\nDid not pass gfortran-dbg tests\n')
|
||||
|
||||
# run gfortran-opt tests
|
||||
print '\n--------------'
|
||||
print 'gfortran-opt tests'
|
||||
print '--------------\n'
|
||||
sys.stdout.write('\n--------------\n')
|
||||
sys.stdout.write('gfortran-opt tests')
|
||||
sys.stdout.write('\n--------------\n')
|
||||
os.chdir(pwd)
|
||||
os.rename(pwd + '/../src/openmc-gfortran-opt', pwd + '/../src/openmc')
|
||||
result = nose.run(argv=['run_tests.py','-v','--exclude','test_compile'])
|
||||
if not result:
|
||||
sys.stdout.write('Did not pass gfortran-opt tests')
|
||||
result_gfortran_opt = nose.run(argv=['run_tests.py','-v','--exclude','test_compile'])
|
||||
if not result_gfortran_opt:
|
||||
sys.stdout.write('\nDid not pass gfortran-opt tests\n')
|
||||
|
||||
# run gfortran-hdf5 tests
|
||||
print '\n--------------'
|
||||
print 'gfortran-hdf5 tests'
|
||||
print '--------------\n'
|
||||
sys.stdout.write('\n--------------\n')
|
||||
sys.stdout.write('gfortran-hdf5 tests')
|
||||
sys.stdout.write('\n--------------\n')
|
||||
os.chdir(pwd)
|
||||
os.rename(pwd + '/../src/openmc-gfortran-hdf5', pwd + '/../src/openmc')
|
||||
result = nose.run(argv=['run_tests.py','-v','--exclude','test_compile'])
|
||||
if not result:
|
||||
sys.stdout.write('Did not pass gfortran-hdf5 tests')
|
||||
result_gfortran_hdf5 = nose.run(argv=['run_tests.py','-v','--exclude','test_compile'])
|
||||
if not result_gfortran_hdf5:
|
||||
sys.stdout.write('\nDid not pass gfortran-hdf5 tests\n')
|
||||
|
||||
# run gfortran-mpi tests
|
||||
print '\n--------------'
|
||||
print 'gfortran-mpi tests'
|
||||
print '--------------\n'
|
||||
sys.stdout.write('\n--------------\n')
|
||||
sys.stdout.write('gfortran-mpi tests')
|
||||
sys.stdout.write('\n--------------\n')
|
||||
os.chdir(pwd)
|
||||
os.rename(pwd + '/../src/openmc-gfortran-mpi', pwd + '/../src/openmc')
|
||||
result = nose.run(argv=['run_tests.py','-v','--exclude','test_compile',
|
||||
result_gfortran_mpi = nose.run(argv=['run_tests.py','-v','--exclude','test_compile',
|
||||
'--mpi-np','3','--mpi-exec',
|
||||
'/opt/mpich/3.0.4-gnu/bin/mpiexec'])
|
||||
if not result:
|
||||
sys.stdout.write('Did not pass gfortran-mpi tests')
|
||||
if not result_gfortran_mpi:
|
||||
sys.stdout.write('\nDid not pass gfortran-mpi tests\n')
|
||||
|
||||
# run gfortran-phdf5 tests
|
||||
print '\n--------------'
|
||||
print 'gfortran-phdf5 tests'
|
||||
print '--------------\n'
|
||||
sys.stdout.write('\n--------------\n')
|
||||
sys.stdout.write('gfortran-phdf5 tests')
|
||||
sys.stdout.write('\n--------------\n')
|
||||
os.chdir(pwd)
|
||||
os.rename(pwd + '/../src/openmc-gfortran-phdf5', pwd + '/../src/openmc')
|
||||
result = nose.run(argv=['run_tests.py','-v','--exclude','test_compile',
|
||||
result_gfortran_phdf5 = nose.run(argv=['run_tests.py','-v','--exclude','test_compile',
|
||||
'--mpi-np','3','--mpi-exec',
|
||||
'/opt/mpich/3.0.4-gnu/bin/mpiexec'])
|
||||
if not result:
|
||||
sys.stdout.write('Did not pass gfortran-phdf5 tests')
|
||||
if not result_gfortran_phdf5:
|
||||
sys.stdout.write('\nDid not pass gfortran-phdf5 tests\n')
|
||||
|
||||
# run gfortran-petsc tests
|
||||
print '\n--------------'
|
||||
print 'gfortran-petsc tests'
|
||||
print '--------------\n'
|
||||
sys.stdout.write('\n--------------\n')
|
||||
sys.stdout.write('gfortran-petsc tests')
|
||||
sys.stdout.write('\n--------------\n')
|
||||
os.chdir(pwd)
|
||||
os.rename(pwd + '/../src/openmc-gfortran-petsc', pwd + '/../src/openmc')
|
||||
result = nose.run(argv=['run_tests.py','-v','--exclude','test_compile',
|
||||
result_gfortran_petsc = nose.run(argv=['run_tests.py','-v','--exclude','test_compile',
|
||||
'--mpi-np','3','--mpi-exec',
|
||||
'/opt/mpich/3.0.4-gnu/bin/mpiexec'])
|
||||
if not result:
|
||||
sys.stdout.write('Did not pass gfortran-petsc tests')
|
||||
if not result_gfortran_petsc:
|
||||
sys.stdout.write('\nDid not pass gfortran-petsc tests\n')
|
||||
|
||||
# run gfortran-phdf5-petsc tests
|
||||
print '\n--------------'
|
||||
print 'gfortran-phdf5-petsc tests'
|
||||
print '--------------\n'
|
||||
sys.stdout.write('\n--------------\n')
|
||||
sys.stdout.write('gfortran-phdf5-petsc tests')
|
||||
sys.stdout.write('\n--------------\n')
|
||||
os.chdir(pwd)
|
||||
os.rename(pwd + '/../src/openmc-gfortran-phdf5-petsc', pwd + '/../src/openmc')
|
||||
result = nose.run(argv=['run_tests.py','-v','--exclude','test_compile',
|
||||
result_gfortran_phdf5_petsc = nose.run(argv=['run_tests.py','-v','--exclude','test_compile',
|
||||
'--mpi-np','3','--mpi-exec',
|
||||
'/opt/mpich/3.0.4-gnu/bin/mpiexec'])
|
||||
if not result:
|
||||
sys.stdout.write('Did not pass gfortran-phdf5-petsc tests')
|
||||
if not result_gfortran_phdf5_petsc:
|
||||
sys.stdout.write('\nDid not pass gfortran-phdf5-petsc tests\n')
|
||||
|
||||
# run gfortran-phdf5-petsc-opt tests
|
||||
print '\n--------------'
|
||||
print 'gfortran-phdf5-petsc-opt tests'
|
||||
print '--------------\n'
|
||||
sys.stdout.write('\n--------------\n')
|
||||
sys.stdout.write('gfortran-phdf5-petsc-opt tests')
|
||||
sys.stdout.write('\n--------------\n')
|
||||
os.chdir(pwd)
|
||||
os.rename(pwd + '/../src/openmc-gfortran-phdf5-petsc-opt', pwd + '/../src/openmc')
|
||||
result = nose.run(argv=['run_tests.py','-v','--exclude','test_compile',
|
||||
result_gfortran_phdf5_petsc_opt = nose.run(argv=['run_tests.py','-v','--exclude','test_compile',
|
||||
'--mpi-np','3','--mpi-exec',
|
||||
'/opt/mpich/3.0.4-gnu/bin/mpiexec'])
|
||||
if not result:
|
||||
sys.stdout.write('Did not pass gfortran-phdf5-petsc-opt tests')
|
||||
if not result_gfortran_phdf5_petsc_opt:
|
||||
sys.stdout.write('\nDid not pass gfortran-phdf5-petsc-opt tests\n')
|
||||
|
||||
sys.stdout.write('\n======================================================\n')
|
||||
sys.stdout.write('\nSummary of Compilation Option Testing:\n')
|
||||
|
||||
sys.stdout.write('\ngfortran tests...........................')
|
||||
if result_gfortran:
|
||||
sys.stdout.write(BOLD + OK + '[OK]' + ENDC)
|
||||
else:
|
||||
sys.stdout.write(BOLD + FAIL + '[FAILED]' + ENDC)
|
||||
|
||||
sys.stdout.write('\ngfortran-DEBUG tests.....................')
|
||||
if result_gfortran_dbg:
|
||||
sys.stdout.write(BOLD + OK + '[OK]' + ENDC)
|
||||
else:
|
||||
sys.stdout.write(BOLD + FAIL + '[FAILED]' + ENDC)
|
||||
|
||||
sys.stdout.write('\ngfortran-OPTIMIZE tests..................')
|
||||
if result_gfortran_opt:
|
||||
sys.stdout.write(BOLD + OK + '[OK]' + ENDC)
|
||||
else:
|
||||
sys.stdout.write(BOLD + FAIL + '[FAILED]' + ENDC)
|
||||
|
||||
sys.stdout.write('\ngfortran-HDF5 tests......................')
|
||||
if result_gfortran_hdf5:
|
||||
sys.stdout.write(BOLD + OK + '[OK]' + ENDC)
|
||||
else:
|
||||
sys.stdout.write(BOLD + FAIL + '[FAILED]' + ENDC)
|
||||
|
||||
sys.stdout.write('\ngfortran-MPI tests.......................')
|
||||
if result_gfortran_mpi:
|
||||
sys.stdout.write(BOLD + OK + '[OK]' + ENDC)
|
||||
else:
|
||||
sys.stdout.write(BOLD + FAIL + '[FAILED]' + ENDC)
|
||||
|
||||
sys.stdout.write('\ngfortran-MPI-HDF5 tests..................')
|
||||
if result_gfortran_phdf5:
|
||||
sys.stdout.write(BOLD + OK + '[OK]' + ENDC)
|
||||
else:
|
||||
sys.stdout.write(BOLD + FAIL + '[FAILED]' + ENDC)
|
||||
|
||||
sys.stdout.write('\ngfortran-MPI-PETSC tests.................')
|
||||
if result_gfortran_petsc:
|
||||
sys.stdout.write(BOLD + OK + '[OK]' + ENDC)
|
||||
else:
|
||||
sys.stdout.write(BOLD + FAIL + '[FAILED]' + ENDC)
|
||||
|
||||
sys.stdout.write('\ngfortran-MPI-HDF5-PETSC tests............')
|
||||
if result_gfortran_phdf5_petsc:
|
||||
sys.stdout.write(BOLD + OK + '[OK]' + ENDC)
|
||||
else:
|
||||
sys.stdout.write(BOLD + FAIL + '[FAILED]' + ENDC)
|
||||
|
||||
sys.stdout.write('\ngfortran-MPI-PETSC-HDF5-OPTIMIZE tests...')
|
||||
if result_gfortran_phdf5_petsc_opt:
|
||||
sys.stdout.write(BOLD + OK + '[OK]' + ENDC)
|
||||
else:
|
||||
sys.stdout.write(BOLD + FAIL + '[FAILED]' + ENDC + '\n')
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.30408759 0.00088008
|
||||
3.040876E-01 8.800801E-04
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
k-combined:
|
||||
0.29432037 0.01265543
|
||||
2.943204E-01 1.265543E-02
|
||||
tallies:
|
||||
65.39238423
|
||||
539.83246478
|
||||
6.539238E+01
|
||||
5.398325E+02
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
1.75925969 0.02728159
|
||||
1.759260E+00 2.728159E-02
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
1.12562497 0.01475256
|
||||
1.125625E+00 1.475256E-02
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.77607961 0.02228188
|
||||
7.760796E-01 2.228188E-02
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.32600067 0.01356562
|
||||
3.260007E-01 1.356562E-02
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.28402818 0.02273104
|
||||
2.840282E-01 2.273104E-02
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.30896828 0.01118024
|
||||
3.089683E-01 1.118024E-02
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.31522753 0.00509959
|
||||
3.152275E-01 5.099594E-03
|
||||
|
|
|
|||
|
|
@ -19,12 +19,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'entropy:\n'
|
||||
for item in sp.entropy:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
k-combined:
|
||||
0.30408759 0.00088008
|
||||
3.040876E-01 8.800801E-04
|
||||
entropy:
|
||||
6.22453002
|
||||
7.34335892
|
||||
7.76336209
|
||||
7.76885034
|
||||
7.78607726
|
||||
7.72581193
|
||||
7.76121795
|
||||
7.84101403
|
||||
7.92560054
|
||||
7.86038189
|
||||
6.224530E+00
|
||||
7.343359E+00
|
||||
7.763362E+00
|
||||
7.768850E+00
|
||||
7.786077E+00
|
||||
7.725812E+00
|
||||
7.761218E+00
|
||||
7.841014E+00
|
||||
7.925601E+00
|
||||
7.860382E+00
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
0.00000000
|
||||
0.00000000
|
||||
8.78237650
|
||||
15.55794571
|
||||
1.84482312
|
||||
0.70297682
|
||||
26.52660205
|
||||
142.33423161
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
8.782377E+00
|
||||
1.555795E+01
|
||||
1.844823E+00
|
||||
7.029768E-01
|
||||
2.652660E+01
|
||||
1.423342E+02
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
0.00000000
|
||||
0.00000000
|
||||
43.50660698
|
||||
385.10698472
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
4.350661E+01
|
||||
3.851070E+02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
25.67612478
|
||||
135.06234071
|
||||
43.69328739
|
||||
384.31331185
|
||||
53.66385216
|
||||
577.08087569
|
||||
9.12440078
|
||||
17.45738591
|
||||
2.567612E+01
|
||||
1.350623E+02
|
||||
4.369329E+01
|
||||
3.843133E+02
|
||||
5.366385E+01
|
||||
5.770809E+02
|
||||
9.124401E+00
|
||||
1.745739E+01
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
25.59000000
|
||||
133.54390000
|
||||
42.96000000
|
||||
370.54460000
|
||||
51.41000000
|
||||
529.20190000
|
||||
6.14000000
|
||||
7.84340000
|
||||
2.559000E+01
|
||||
1.335439E+02
|
||||
4.296000E+01
|
||||
3.705446E+02
|
||||
5.141000E+01
|
||||
5.292019E+02
|
||||
6.140000E+00
|
||||
7.843400E+00
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,67 +1,67 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
22.97000000
|
||||
108.08230000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.06000000
|
||||
0.00140000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
2.62000000
|
||||
1.37720000
|
||||
0.00000000
|
||||
0.00000000
|
||||
38.33000000
|
||||
295.26630000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
4.56000000
|
||||
4.15920000
|
||||
0.00000000
|
||||
0.00000000
|
||||
48.48000000
|
||||
470.68580000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.01000000
|
||||
0.00010000
|
||||
0.00000000
|
||||
0.00000000
|
||||
2.93000000
|
||||
1.78470000
|
||||
0.00000000
|
||||
0.00000000
|
||||
6.14000000
|
||||
7.84340000
|
||||
0.00000000
|
||||
0.00000000
|
||||
2.297000E+01
|
||||
1.080823E+02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
6.000000E-02
|
||||
1.400000E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.620000E+00
|
||||
1.377200E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.833000E+01
|
||||
2.952663E+02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
4.560000E+00
|
||||
4.159200E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
4.848000E+01
|
||||
4.706858E+02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.000000E-02
|
||||
1.000000E-04
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.930000E+00
|
||||
1.784700E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
6.140000E+00
|
||||
7.843400E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
28.88595756
|
||||
167.70454782
|
||||
6.68679307
|
||||
8.94919165
|
||||
35.19283765
|
||||
254.25938930
|
||||
60.96487727
|
||||
750.99609930
|
||||
2.888596E+01
|
||||
1.677045E+02
|
||||
6.686793E+00
|
||||
8.949192E+00
|
||||
3.519284E+01
|
||||
2.542594E+02
|
||||
6.096488E+01
|
||||
7.509961E+02
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
36.02063446
|
||||
262.67869132
|
||||
4.68789690
|
||||
4.50704437
|
||||
74.02502234
|
||||
1111.88560685
|
||||
8.53811818
|
||||
14.72177988
|
||||
3.602063E+01
|
||||
2.626787E+02
|
||||
4.687897E+00
|
||||
4.507044E+00
|
||||
7.402502E+01
|
||||
1.111886E+03
|
||||
8.538118E+00
|
||||
1.472178E+01
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ outstr = ''
|
|||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
tallies:
|
||||
453.85329674
|
||||
20667.76024307
|
||||
4.538533E+02
|
||||
2.066776E+04
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.91525327 0.06208235
|
||||
9.152533E-01 6.208235E-02
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.96912628 0.04173669
|
||||
9.691263E-01 4.173669E-02
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.30408759 0.00088008
|
||||
3.040876E-01 8.800801E-04
|
||||
|
|
|
|||
|
|
@ -24,7 +24,9 @@ def test_run():
|
|||
assert returncode == 0
|
||||
|
||||
def test_summary_exists():
|
||||
assert os.path.exists(pwd + '/summary.out')
|
||||
summary = glob.glob(pwd + '/summary.*')
|
||||
assert len(summary) == 1
|
||||
assert summary[0].endswith('out') or summary[0].endswith('h5')
|
||||
|
||||
def test_cross_sections_exists():
|
||||
assert os.path.exists(pwd + '/cross_sections.out')
|
||||
|
|
@ -43,7 +45,7 @@ def test_results():
|
|||
assert compare
|
||||
|
||||
def teardown():
|
||||
output = glob.glob(pwd + '/statepoint.10.*')
|
||||
output = glob.glob(pwd + '/statepoint.10.*') + glob.glob(pwd + '/summary.*')
|
||||
output.append(pwd + '/summary.out')
|
||||
output.append(pwd + '/cross_sections.out')
|
||||
output.append(pwd + '/results_test.dat')
|
||||
|
|
|
|||
|
|
@ -18,19 +18,19 @@ outstr = ''
|
|||
|
||||
# write out properties
|
||||
outstr += 'current batch:\n'
|
||||
outstr += "{0:10.8f}\n".format(p.current_batch)
|
||||
outstr += "{0:12.6E}\n".format(p.current_batch)
|
||||
outstr += 'current gen:\n'
|
||||
outstr += "{0:10.8f}\n".format(p.current_gen)
|
||||
outstr += "{0:12.6E}\n".format(p.current_gen)
|
||||
outstr += 'particle id:\n'
|
||||
outstr += "{0:10.8f}\n".format(p.id)
|
||||
outstr += "{0:12.6E}\n".format(p.id)
|
||||
outstr += 'particle weight:\n'
|
||||
outstr += "{0:10.8f}\n".format(p.weight)
|
||||
outstr += "{0:12.6E}\n".format(p.weight)
|
||||
outstr += 'particle energy:\n'
|
||||
outstr += "{0:10.8f}\n".format(p.energy)
|
||||
outstr += "{0:12.6E}\n".format(p.energy)
|
||||
outstr += 'particle xyz:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f} {2:10.8f}\n".format(p.xyz[0],p.xyz[1],p.xyz[2])
|
||||
outstr += "{0:12.6E} {1:12.6E} {2:12.6E}\n".format(p.xyz[0],p.xyz[1],p.xyz[2])
|
||||
outstr += 'particle uvw:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f} {2:10.8f}\n".format(p.uvw[0],p.uvw[1],p.uvw[2])
|
||||
outstr += "{0:12.6E} {1:12.6E} {2:12.6E}\n".format(p.uvw[0],p.uvw[1],p.uvw[2])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
current batch:
|
||||
10.00000000
|
||||
1.000000E+01
|
||||
current gen:
|
||||
1.00000000
|
||||
1.000000E+00
|
||||
particle id:
|
||||
903.00000000
|
||||
9.030000E+02
|
||||
particle weight:
|
||||
1.00000000
|
||||
1.000000E+00
|
||||
particle energy:
|
||||
4.05657055
|
||||
4.056571E+00
|
||||
particle xyz:
|
||||
-15.93841321 24.03836865 48.92880257
|
||||
-1.593841E+01 2.403837E+01 4.892880E+01
|
||||
particle uvw:
|
||||
-0.17761482 0.97467032 0.13590711
|
||||
-1.776148E-01 9.746703E-01 1.359071E-01
|
||||
|
|
|
|||
|
|
@ -48,7 +48,9 @@ def test_run_restart():
|
|||
assert stderr == ''
|
||||
|
||||
def teardown():
|
||||
output = glob.glob(pwd + '/particle_*.binary') + [pwd + '/results_test.dat']
|
||||
output = glob.glob(pwd + '/statepoint.*') + \
|
||||
glob.glob(pwd + '/particle_*') + \
|
||||
[pwd + '/results_test.dat']
|
||||
for f in output:
|
||||
if os.path.exists(f):
|
||||
os.remove(f)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.30360946 0.00279271
|
||||
3.036095E-01 2.792706E-03
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ def test_results():
|
|||
assert compare
|
||||
|
||||
def teardown():
|
||||
output = glob.glob(pwd + 'statepoint.10.*')
|
||||
output = glob.glob(pwd + '/statepoint.10.*')
|
||||
output.append(pwd + '/results_test.dat')
|
||||
for f in output:
|
||||
if os.path.exists(f):
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
2.28423621 0.00686033
|
||||
2.284236E+00 6.860333E-03
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
2.27230443 0.00340049
|
||||
2.272304E+00 3.400487E-03
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
2.26967362 0.00896221
|
||||
2.269674E+00 8.962213E-03
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
2.29368643 0.00532865
|
||||
2.293686E+00 5.328646E-03
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.30408759 0.00088008
|
||||
3.040876E-01 8.800801E-04
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.83997725 0.02336172
|
||||
8.399772E-01 2.336172E-02
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
1.01833778 0.04898906
|
||||
1.018338E+00 4.898906E-02
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000999
|
||||
0.00000000
|
||||
0.00000999
|
||||
0.00000000
|
||||
0.21087220
|
||||
0.00917268
|
||||
0.73494541
|
||||
0.11133353
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.01386040
|
||||
0.00004269
|
||||
0.01123359
|
||||
0.00002709
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00001666
|
||||
0.00000000
|
||||
0.04302898
|
||||
0.00037069
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
9.989136E-06
|
||||
5.497721E-11
|
||||
9.989136E-06
|
||||
5.497721E-11
|
||||
2.108722E-01
|
||||
9.172684E-03
|
||||
7.349454E-01
|
||||
1.113335E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.386040E-02
|
||||
4.268820E-05
|
||||
1.123359E-02
|
||||
2.708591E-05
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.666209E-05
|
||||
7.390812E-11
|
||||
4.302898E-02
|
||||
3.706945E-04
|
||||
|
|
|
|||
|
|
@ -29,15 +29,15 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tally 1:\n'
|
||||
for item in results1:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
outstr += 'tally 2:\n'
|
||||
for item in results2:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tally 1:
|
||||
0.00000000
|
||||
0.00000000
|
||||
1.38403954
|
||||
0.38795574
|
||||
0.01124864
|
||||
0.00002715
|
||||
0.20585652
|
||||
0.00848355
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.384040E+00
|
||||
3.879557E-01
|
||||
1.124864E-02
|
||||
2.714543E-05
|
||||
2.058565E-01
|
||||
8.483549E-03
|
||||
tally 2:
|
||||
0.00000000
|
||||
0.00000000
|
||||
1.29000000
|
||||
0.34930000
|
||||
0.01000000
|
||||
0.00010000
|
||||
0.29000000
|
||||
0.01890000
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.290000E+00
|
||||
3.493000E-01
|
||||
1.000000E-02
|
||||
1.000000E-04
|
||||
2.900000E-01
|
||||
1.890000E-02
|
||||
|
|
|
|||
|
|
@ -29,15 +29,15 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tally 1:\n'
|
||||
for item in results1:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
outstr += 'tally 2:\n'
|
||||
for item in results2:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -29,15 +29,15 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tally 1:\n'
|
||||
for item in results1:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
outstr += 'tally 2:\n'
|
||||
for item in results2:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tally 1:
|
||||
32.11000000
|
||||
209.71810000
|
||||
73.39000000
|
||||
1096.36910000
|
||||
3.211000E+01
|
||||
2.097181E+02
|
||||
7.339000E+01
|
||||
1.096369E+03
|
||||
tally 2:
|
||||
8.35000000
|
||||
14.14870000
|
||||
19.58000000
|
||||
77.70300000
|
||||
8.350000E+00
|
||||
1.414870E+01
|
||||
1.958000E+01
|
||||
7.770300E+01
|
||||
|
|
|
|||
|
|
@ -29,15 +29,15 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tally 1:\n'
|
||||
for item in results1:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
outstr += 'tally 2:\n'
|
||||
for item in results2:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tally 1:
|
||||
0.64776968
|
||||
0.08434925
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
1.28044244
|
||||
0.33521026
|
||||
6.477697E-01
|
||||
8.434925E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.280442E+00
|
||||
3.352103E-01
|
||||
tally 2:
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
19.26122972
|
||||
75.54613096
|
||||
6.73652906
|
||||
9.36673113
|
||||
31.86041974
|
||||
208.41096895
|
||||
44.30984076
|
||||
401.45119385
|
||||
14.80519869
|
||||
44.65616635
|
||||
72.13983866
|
||||
1064.07936529
|
||||
1.926123E+01
|
||||
7.554613E+01
|
||||
6.736529E+00
|
||||
9.366731E+00
|
||||
3.186042E+01
|
||||
2.084110E+02
|
||||
4.430984E+01
|
||||
4.014512E+02
|
||||
1.480520E+01
|
||||
4.465617E+01
|
||||
7.213984E+01
|
||||
1.064079E+03
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
126.94081234
|
||||
3239.28231696
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
251.05021427
|
||||
12885.65557182
|
||||
1.269408E+02
|
||||
3.239282E+03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.510502E+02
|
||||
1.288566E+04
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
1.70263677
|
||||
0.58270937
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
0.00000000
|
||||
3.36809105
|
||||
2.32023393
|
||||
1.702637E+00
|
||||
5.827094E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.368091E+00
|
||||
2.320234E+00
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
0.00000000
|
||||
0.00000000
|
||||
7.06000000
|
||||
10.07900000
|
||||
2.17000000
|
||||
1.03550000
|
||||
26.62000000
|
||||
144.17900000
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
7.060000E+00
|
||||
1.007900E+01
|
||||
2.170000E+00
|
||||
1.035500E+00
|
||||
2.662000E+01
|
||||
1.441790E+02
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
0.00000000
|
||||
0.00000000
|
||||
7.39833696
|
||||
11.05882445
|
||||
1.83357448
|
||||
0.69443493
|
||||
26.32074554
|
||||
140.15855722
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
7.398337E+00
|
||||
1.105882E+01
|
||||
1.833574E+00
|
||||
6.944349E-01
|
||||
2.632075E+01
|
||||
1.401586E+02
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,33 +1,33 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
7.06000000
|
||||
10.07900000
|
||||
0.57628500
|
||||
0.09057735
|
||||
0.16393312
|
||||
0.00710897
|
||||
0.10812742
|
||||
0.01738566
|
||||
-0.05518860
|
||||
0.01170613
|
||||
2.17000000
|
||||
1.03550000
|
||||
0.15627688
|
||||
0.01347659
|
||||
0.07161707
|
||||
0.01004427
|
||||
-0.04113472
|
||||
0.00491929
|
||||
0.00147404
|
||||
0.00304207
|
||||
26.62000000
|
||||
144.17900000
|
||||
13.17579549
|
||||
35.62860351
|
||||
4.47692962
|
||||
4.13563188
|
||||
0.05339990
|
||||
0.01603587
|
||||
-0.68933362
|
||||
0.13685298
|
||||
7.060000E+00
|
||||
1.007900E+01
|
||||
5.762850E-01
|
||||
9.057735E-02
|
||||
1.639331E-01
|
||||
7.108972E-03
|
||||
1.081274E-01
|
||||
1.738566E-02
|
||||
-5.518860E-02
|
||||
1.170613E-02
|
||||
2.170000E+00
|
||||
1.035500E+00
|
||||
1.562769E-01
|
||||
1.347659E-02
|
||||
7.161707E-02
|
||||
1.004427E-02
|
||||
-4.113472E-02
|
||||
4.919292E-03
|
||||
1.474041E-03
|
||||
3.042069E-03
|
||||
2.662000E+01
|
||||
1.441790E+02
|
||||
1.317580E+01
|
||||
3.562860E+01
|
||||
4.476930E+00
|
||||
4.135632E+00
|
||||
5.339990E-02
|
||||
1.603587E-02
|
||||
-6.893336E-01
|
||||
1.368530E-01
|
||||
|
|
|
|||
|
|
@ -29,15 +29,15 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tally 1:\n'
|
||||
for item in results1:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
outstr += 'tally 2:\n'
|
||||
for item in results2:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,24 +1,24 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tally 1:
|
||||
7.06000000
|
||||
10.07900000
|
||||
0.57628500
|
||||
0.09057735
|
||||
0.16393312
|
||||
0.00710897
|
||||
0.10812742
|
||||
0.01738566
|
||||
-0.05518860
|
||||
0.01170613
|
||||
7.060000E+00
|
||||
1.007900E+01
|
||||
5.762850E-01
|
||||
9.057735E-02
|
||||
1.639331E-01
|
||||
7.108972E-03
|
||||
1.081274E-01
|
||||
1.738566E-02
|
||||
-5.518860E-02
|
||||
1.170613E-02
|
||||
tally 2:
|
||||
7.06000000
|
||||
10.07900000
|
||||
0.57628500
|
||||
0.09057735
|
||||
0.16393312
|
||||
0.00710897
|
||||
0.10812742
|
||||
0.01738566
|
||||
-0.05518860
|
||||
0.01170613
|
||||
7.060000E+00
|
||||
1.007900E+01
|
||||
5.762850E-01
|
||||
9.057735E-02
|
||||
1.639331E-01
|
||||
7.108972E-03
|
||||
1.081274E-01
|
||||
1.738566E-02
|
||||
-5.518860E-02
|
||||
1.170613E-02
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write out tally results
|
||||
outstr += 'tallies:\n'
|
||||
for item in results:
|
||||
outstr += "{0:10.8f}\n".format(item)
|
||||
outstr += "{0:12.6E}\n".format(item)
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
0.98046852 0.04718832
|
||||
9.804685E-01 4.718832E-02
|
||||
tallies:
|
||||
0.00000000
|
||||
0.00000000
|
||||
8.78237650
|
||||
15.55794571
|
||||
1.84482312
|
||||
0.70297682
|
||||
26.52660205
|
||||
142.33423161
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
8.782377E+00
|
||||
1.555795E+01
|
||||
1.844823E+00
|
||||
7.029768E-01
|
||||
2.652660E+01
|
||||
1.423342E+02
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.30165553 0.00229391
|
||||
3.016555E-01 2.293910E-03
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ outstr = ''
|
|||
|
||||
# write out k-combined
|
||||
outstr += 'k-combined:\n'
|
||||
outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
outstr += "{0:12.6E} {1:12.6E}\n".format(sp.k_combined[0], sp.k_combined[1])
|
||||
|
||||
# write results to file
|
||||
with open('results_test.dat','w') as fh:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
0.28529893 0.02631808
|
||||
2.852989E-01 2.631808E-02
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue