diff --git a/docs/source/conf.py b/docs/source/conf.py index 16be3567d0..12558139e1 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -48,7 +48,7 @@ copyright = u'2011-2014, Massachusetts Institute of Technology' # The short X.Y version. version = "0.6" # The full version, including alpha/beta/rc tags. -release = "0.6.0" +release = "0.6.1" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/source/devguide/statepoint.rst b/docs/source/devguide/statepoint.rst index 5f05c92c83..82b0a7f054 100644 --- a/docs/source/devguide/statepoint.rst +++ b/docs/source/devguide/statepoint.rst @@ -4,6 +4,13 @@ State Point Binary File Specifications ====================================== +----------- +Revision 12 +----------- + +Same as revision 11, except **tallies(i) % scatt_order(j)** is now **tallies(i) +% moment_order(j)**. + ----------- Revision 11 ----------- @@ -218,13 +225,13 @@ if (run_mode == MODE_EIGENVALUE) **integer(4) tallies(i) % score_bins(j)** Values of specified scoring bins (e.g. SCORE_FLUX). - + *do j = 1, tallies(i) % n_score_bins* **integer(4) tallies(i) % scatt_order(j)** Scattering Order specified scoring bins. - + **integer(4) tallies(i) % n_score_bins** Number of scoring bins without accounting for those added by @@ -265,7 +272,7 @@ if (tallies_on > 0) *do j = 1, size(tallies(i) % scores, 1)* **real(8) tallies(i) % scores(j,k) % sum** - + Accumulated sum for the j-th score and k-th filter of the i-th tally @@ -295,7 +302,7 @@ if (run_mode == MODE_EIGENVALUE and source_present) Energy of the i-th source particle. ----------- -Revision 10 +Revision 10 ----------- **integer(4) FILETYPE_STATEPOINT** @@ -508,13 +515,13 @@ if (run_mode == MODE_EIGENVALUE) **integer(4) tallies(i) % score_bins(j)** Values of specified scoring bins (e.g. SCORE_FLUX). - + *do j = 1, tallies(i) % n_score_bins* **integer(4) tallies(i) % scatt_order(j)** Scattering Order specified scoring bins. - + **integer(4) tallies(i) % n_score_bins** Number of scoring bins without accounting for those added by @@ -551,7 +558,7 @@ if (tallies_on > 0) *do j = 1, size(tallies(i) % scores, 1)* **real(8) tallies(i) % scores(j,k) % sum** - + Accumulated sum for the j-th score and k-th filter of the i-th tally @@ -760,13 +767,13 @@ if (run_mode == MODE_EIGENVALUE) **integer(4) tallies(i) % score_bins(j)** Values of specified scoring bins (e.g. SCORE_FLUX). - + *do j = 1, tallies(i) % n_score_bins* **integer(4) tallies(i) % scatt_order(j)** Scattering Order specified scoring bins. - + **integer(4) tallies(i) % n_score_bins** Number of scoring bins without accounting for those added by @@ -803,7 +810,7 @@ if (tallies_on > 0) *do j = 1, size(tallies(i) % scores, 1)* **real(8) tallies(i) % scores(j,k) % sum** - + Accumulated sum for the j-th score and k-th filter of the i-th tally @@ -1008,13 +1015,13 @@ if (run_mode == MODE_EIGENVALUE) **integer(4) tallies(i) % score_bins(j)** Values of specified scoring bins (e.g. SCORE_FLUX). - + *do j = 1, tallies(i) % n_score_bins* **integer(4) tallies(i) % scatt_order(j)** Scattering Order specified scoring bins. - + **integer(4) tallies(i) % n_score_bins** Number of scoring bins without accounting for those added by @@ -1051,7 +1058,7 @@ if (tallies_on > 0) *do j = 1, size(tallies(i) % scores, 1)* **real(8) tallies(i) % scores(j,k) % sum** - + Accumulated sum for the j-th score and k-th filter of the i-th tally @@ -1240,13 +1247,13 @@ if (run_mode == MODE_EIGENVALUE) **integer(4) tallies(i) % score_bins(j)** Values of specified scoring bins (e.g. SCORE_FLUX). - + *do j = 1, tallies(i) % n_score_bins* **integer(4) tallies(i) % scatt_order(j)** Scattering Order specified scoring bins. - + **integer(4) tallies(i) % n_score_bins** Number of scoring bins without accounting for those added by @@ -1283,7 +1290,7 @@ if (tallies_on > 0) *do j = 1, size(tallies(i) % scores, 1)* **real(8) tallies(i) % scores(j,k) % sum** - + Accumulated sum for the j-th score and k-th filter of the i-th tally @@ -1504,7 +1511,7 @@ if (tallies_on > 0) *do j = 1, size(tallies(i) % scores, 1)* **real(8) tallies(i) % scores(j,k) % sum** - + Accumulated sum for the j-th score and k-th filter of the i-th tally @@ -1713,7 +1720,7 @@ if (tallies_on > 0) *do j = 1, size(tallies(i) % scores, 1)* **real(8) tallies(i) % scores(j,k) % sum** - + Accumulated sum for the j-th score and k-th filter of the i-th tally @@ -1918,7 +1925,7 @@ if (tallies_on > 0) *do j = 1, size(tallies(i) % scores, 1)* **real(8) tallies(i) % scores(j,k) % sum** - + Accumulated sum for the j-th score and k-th filter of the i-th tally @@ -2119,7 +2126,7 @@ if (tallies_on > 0) *do j = 1, size(tallies(i) % scores, 1)* **real(8) tallies(i) % scores(j,k) % sum** - + Accumulated sum for the j-th score and k-th filter of the i-th tally @@ -2240,7 +2247,7 @@ Revision 2 *do j = 1, size(tallies(i) % scores, 1)* **real(8) tallies(i) % scores(j,k) % sum** - + Accumulated sum for the j-th score and k-th filter of the i-th tally @@ -2339,7 +2346,7 @@ Revision 1 *do j = 1, size(tallies(i) % scores, 1)* **real(8) tallies(i) % scores(j,k) % sum** - + Accumulated sum for the j-th score and k-th filter of the i-th tally diff --git a/docs/source/releasenotes/notes_0.6.1.rst b/docs/source/releasenotes/notes_0.6.1.rst index b0651a8629..71852bd174 100644 --- a/docs/source/releasenotes/notes_0.6.1.rst +++ b/docs/source/releasenotes/notes_0.6.1.rst @@ -17,7 +17,7 @@ the problem at hand (mostly on the number of nuclides in the problem). New Features ------------ -- Coarse mesh finite difference acceleration no longer requires PETSc +- Coarse mesh finite difference (CMFD) acceleration no longer requires PETSc - Statepoint file numbering is now zero-padded - Python scripts now compatible with Python 2 or 3 - Ability to run particle restarts in fixed source calculations @@ -38,6 +38,7 @@ Bug Fixes - 01178b_: Fix metastables nuclides in NNDC cross_sections.xml file - 62ec43_: Don't read tallies.xml when OpenMC is run in plotting mode - 2a95ef_: Prevent segmentation fault on "current" score without mesh filter +- 93e482_: Check for negative values in probability tables .. _03e890: https://github.com/mit-crpg/openmc/commit/03e890 .. _4439de: https://github.com/mit-crpg/openmc/commit/4439de @@ -48,6 +49,7 @@ Bug Fixes .. _01178b: https://github.com/mit-crpg/openmc/commit/01178b .. _62ec43: https://github.com/mit-crpg/openmc/commit/62ec43 .. _2a95ef: https://github.com/mit-crpg/openmc/commit/2a95ef +.. _93e482: https://github.com/mit-crpg/openmc/commit/93e482 ------------ Contributors diff --git a/docs/source/usersguide/input.rst b/docs/source/usersguide/input.rst index 09aea601bb..d7245bc6e1 100644 --- a/docs/source/usersguide/input.rst +++ b/docs/source/usersguide/input.rst @@ -1092,10 +1092,10 @@ The ```` element accepts the following sub-elements: all of the harmonic moments of order 0 to N. N must be between 0 and 10. :total-YN: - Spherical harmonic expansion of the incoming particle's direction of - motion :math:`\left(\Omega\right)` of the total flux. This score will - tally all of the harmonic moments of order 0 to N. N must be between 0 - and 10. + The total reaction rate expanded via spherical harmonics about the + direction of motion of the neutron, :math:`\Omega`. + This score will tally all of the harmonic moments of order 0 to N. N must + be between 0 and 10. :current: Partial currents on the boundaries of each cell in a mesh. diff --git a/docs/source/usersguide/install.rst b/docs/source/usersguide/install.rst index 358937e303..33e5936586 100644 --- a/docs/source/usersguide/install.rst +++ b/docs/source/usersguide/install.rst @@ -239,20 +239,22 @@ the root directory of the source code: .. code-block:: sh - cd src + mkdir src/build + cd src/build + cmake .. make - sudo make install + make install This will build an executable named ``openmc`` and install it (by default in /usr/local/bin). If you do not have administrative privileges, you can install -OpenMC locally by replacing the last command with: +OpenMC locally by specifying an install prefix when running cmake: .. code-block:: sh - make install -e prefix=$HOME/.local + cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local .. -The ``prefix`` variable can be changed to any path for which you have -write-access. +The ``CMAKE_INSTALL_PREFIX`` variable can be changed to any path for which you +have write-access. Compiling on Windows -------------------- @@ -326,7 +328,7 @@ Testing Build ------------- If you have ENDF/B-VII.1 cross sections from NNDC_ you can test your build. -Make sure the **CROSS_SECTIONS** environmental variable is set to the +Make sure the **CROSS_SECTIONS** environmental variable is set to the *cross_sections.xml* file in the *data/nndc* directory. There are two ways to run tests. The first is to use the Makefile present in the source directory and run the following: diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8a9424e79d..bf657c03de 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -261,7 +261,8 @@ install(FILES ../LICENSE DESTINATION "share/doc/${program}/copyright") find_package(PythonInterp) if(PYTHONINTERP_FOUND) install(CODE "execute_process( - COMMAND ${PYTHON_EXECUTABLE} setup.py install --user + COMMAND ${PYTHON_EXECUTABLE} setup.py install + --prefix=${CMAKE_INSTALL_PREFIX} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/utils)") endif() diff --git a/src/constants.F90 b/src/constants.F90 index ae9c77287a..91aafaa009 100644 --- a/src/constants.F90 +++ b/src/constants.F90 @@ -8,7 +8,7 @@ module constants ! OpenMC major, minor, and release numbers integer, parameter :: VERSION_MAJOR = 0 integer, parameter :: VERSION_MINOR = 6 - integer, parameter :: VERSION_RELEASE = 0 + integer, parameter :: VERSION_RELEASE = 1 ! Revision numbers for binary files integer, parameter :: REVISION_STATEPOINT = 12 diff --git a/src/utils/setup.py b/src/utils/setup.py index 1000e509b3..4c2f1ae246 100644 --- a/src/utils/setup.py +++ b/src/utils/setup.py @@ -3,7 +3,7 @@ from distutils.core import setup setup(name='statepoint', - version='0.6.0', + version='0.6.1', description='OpenMC StatePoint', author='Paul Romano', author_email='paul.k.romano@gmail.com', diff --git a/tests/test_basic/results.py b/tests/test_basic/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_basic/results.py +++ b/tests/test_basic/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_cmfd_feed/results.py b/tests/test_cmfd_feed/results.py index 26bcb36d9f..bf969b4b04 100644 --- a/tests/test_cmfd_feed/results.py +++ b/tests/test_cmfd_feed/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_cmfd_jfnk/results.py b/tests/test_cmfd_jfnk/results.py index 26bcb36d9f..bf969b4b04 100644 --- a/tests/test_cmfd_jfnk/results.py +++ b/tests/test_cmfd_jfnk/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_cmfd_nofeed/results.py b/tests/test_cmfd_nofeed/results.py index 26bcb36d9f..bf969b4b04 100644 --- a/tests/test_cmfd_nofeed/results.py +++ b/tests/test_cmfd_nofeed/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_confidence_intervals/results.py b/tests/test_confidence_intervals/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_confidence_intervals/results.py +++ b/tests/test_confidence_intervals/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_density_atombcm/results.py b/tests/test_density_atombcm/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_density_atombcm/results.py +++ b/tests/test_density_atombcm/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_density_atomcm3/results.py b/tests/test_density_atomcm3/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_density_atomcm3/results.py +++ b/tests/test_density_atomcm3/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_density_kgm3/results.py b/tests/test_density_kgm3/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_density_kgm3/results.py +++ b/tests/test_density_kgm3/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_density_sum/results.py b/tests/test_density_sum/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_density_sum/results.py +++ b/tests/test_density_sum/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_eigenvalue_genperbatch/results.py b/tests/test_eigenvalue_genperbatch/results.py index 36b1a0a5f2..e2bb49e235 100644 --- a/tests/test_eigenvalue_genperbatch/results.py +++ b/tests/test_eigenvalue_genperbatch/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_eigenvalue_no_inactive/results.py b/tests/test_eigenvalue_no_inactive/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_eigenvalue_no_inactive/results.py +++ b/tests/test_eigenvalue_no_inactive/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_energy_grid/results.py b/tests/test_energy_grid/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_energy_grid/results.py +++ b/tests/test_energy_grid/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_entropy/results.py b/tests/test_entropy/results.py index 9118335186..6c56b22c19 100644 --- a/tests/test_entropy/results.py +++ b/tests/test_entropy/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_filter_cell/results.py b/tests/test_filter_cell/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_filter_cell/results.py +++ b/tests/test_filter_cell/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_filter_cellborn/results.py b/tests/test_filter_cellborn/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_filter_cellborn/results.py +++ b/tests/test_filter_cellborn/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_filter_energy/results.py b/tests/test_filter_energy/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_filter_energy/results.py +++ b/tests/test_filter_energy/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_filter_energyout/results.py b/tests/test_filter_energyout/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_filter_energyout/results.py +++ b/tests/test_filter_energyout/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_filter_group_transfer/results.py b/tests/test_filter_group_transfer/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_filter_group_transfer/results.py +++ b/tests/test_filter_group_transfer/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_filter_material/results.py b/tests/test_filter_material/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_filter_material/results.py +++ b/tests/test_filter_material/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_filter_mesh_2d/results.py b/tests/test_filter_mesh_2d/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_filter_mesh_2d/results.py +++ b/tests/test_filter_mesh_2d/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_filter_mesh_3d/results.py b/tests/test_filter_mesh_3d/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_filter_mesh_3d/results.py +++ b/tests/test_filter_mesh_3d/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_filter_universe/results.py b/tests/test_filter_universe/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_filter_universe/results.py +++ b/tests/test_filter_universe/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_fixed_source/results.py b/tests/test_fixed_source/results.py index ed0c8fd3a7..39695b1e47 100644 --- a/tests/test_fixed_source/results.py +++ b/tests/test_fixed_source/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_lattice/results.py b/tests/test_lattice/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_lattice/results.py +++ b/tests/test_lattice/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_lattice_multiple/results.py b/tests/test_lattice_multiple/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_lattice_multiple/results.py +++ b/tests/test_lattice_multiple/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_natural_element/results.py b/tests/test_natural_element/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_natural_element/results.py +++ b/tests/test_natural_element/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_output/results.py b/tests/test_output/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_output/results.py +++ b/tests/test_output/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_particle_restart_eigval/results.py b/tests/test_particle_restart_eigval/results.py index 23670872be..5f522b0848 100644 --- a/tests/test_particle_restart_eigval/results.py +++ b/tests/test_particle_restart_eigval/results.py @@ -3,7 +3,7 @@ import sys # import particle restart -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import particle_restart as pr # read in particle restart file diff --git a/tests/test_particle_restart_fixed/results.py b/tests/test_particle_restart_fixed/results.py index e84cb88cff..84956f1d0b 100644 --- a/tests/test_particle_restart_fixed/results.py +++ b/tests/test_particle_restart_fixed/results.py @@ -3,7 +3,7 @@ import sys # import particle restart -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import particle_restart as pr # read in particle restart file diff --git a/tests/test_ptables_off/results.py b/tests/test_ptables_off/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_ptables_off/results.py +++ b/tests/test_ptables_off/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_reflective_cone/results.py b/tests/test_reflective_cone/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_reflective_cone/results.py +++ b/tests/test_reflective_cone/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_reflective_cylinder/results.py b/tests/test_reflective_cylinder/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_reflective_cylinder/results.py +++ b/tests/test_reflective_cylinder/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_reflective_plane/results.py b/tests/test_reflective_plane/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_reflective_plane/results.py +++ b/tests/test_reflective_plane/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_reflective_sphere/results.py b/tests/test_reflective_sphere/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_reflective_sphere/results.py +++ b/tests/test_reflective_sphere/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_resonance_scattering/results.py b/tests/test_resonance_scattering/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_resonance_scattering/results.py +++ b/tests/test_resonance_scattering/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_rotation/results.py b/tests/test_rotation/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_rotation/results.py +++ b/tests/test_rotation/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_salphabeta/results.py b/tests/test_salphabeta/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_salphabeta/results.py +++ b/tests/test_salphabeta/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_salphabeta_multiple/results.py b/tests/test_salphabeta_multiple/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_salphabeta_multiple/results.py +++ b/tests/test_salphabeta_multiple/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_MT/results.py b/tests/test_score_MT/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_score_MT/results.py +++ b/tests/test_score_MT/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_absorption/results.py b/tests/test_score_absorption/results.py index f4c32a893f..fa385bc37f 100644 --- a/tests/test_score_absorption/results.py +++ b/tests/test_score_absorption/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_current/results.py b/tests/test_score_current/results.py index f4c32a893f..fa385bc37f 100644 --- a/tests/test_score_current/results.py +++ b/tests/test_score_current/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_events/results.py b/tests/test_score_events/results.py index f4c32a893f..fa385bc37f 100644 --- a/tests/test_score_events/results.py +++ b/tests/test_score_events/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_fission/results.py b/tests/test_score_fission/results.py index f4c32a893f..fa385bc37f 100644 --- a/tests/test_score_fission/results.py +++ b/tests/test_score_fission/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_flux/results.py b/tests/test_score_flux/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_score_flux/results.py +++ b/tests/test_score_flux/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_flux_yn/results.py b/tests/test_score_flux_yn/results.py index f4c32a893f..fa385bc37f 100644 --- a/tests/test_score_flux_yn/results.py +++ b/tests/test_score_flux_yn/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_kappafission/results.py b/tests/test_score_kappafission/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_score_kappafission/results.py +++ b/tests/test_score_kappafission/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_nufission/results.py b/tests/test_score_nufission/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_score_nufission/results.py +++ b/tests/test_score_nufission/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_nuscatter/results.py b/tests/test_score_nuscatter/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_score_nuscatter/results.py +++ b/tests/test_score_nuscatter/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_nuscatter_n/results.py b/tests/test_score_nuscatter_n/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_score_nuscatter_n/results.py +++ b/tests/test_score_nuscatter_n/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_nuscatter_pn/results.py b/tests/test_score_nuscatter_pn/results.py index f4c32a893f..fa385bc37f 100644 --- a/tests/test_score_nuscatter_pn/results.py +++ b/tests/test_score_nuscatter_pn/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_nuscatter_yn/results.py b/tests/test_score_nuscatter_yn/results.py index f4c32a893f..fa385bc37f 100644 --- a/tests/test_score_nuscatter_yn/results.py +++ b/tests/test_score_nuscatter_yn/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_scatter/results.py b/tests/test_score_scatter/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_score_scatter/results.py +++ b/tests/test_score_scatter/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_scatter_n/results.py b/tests/test_score_scatter_n/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_score_scatter_n/results.py +++ b/tests/test_score_scatter_n/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_scatter_pn/results.py b/tests/test_score_scatter_pn/results.py index f4c32a893f..fa385bc37f 100644 --- a/tests/test_score_scatter_pn/results.py +++ b/tests/test_score_scatter_pn/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_scatter_yn/results.py b/tests/test_score_scatter_yn/results.py index f4c32a893f..fa385bc37f 100644 --- a/tests/test_score_scatter_yn/results.py +++ b/tests/test_score_scatter_yn/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_total/results.py b/tests/test_score_total/results.py index 93371960ae..fd27b041a2 100644 --- a/tests/test_score_total/results.py +++ b/tests/test_score_total/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_score_total_yn/results.py b/tests/test_score_total_yn/results.py index f4c32a893f..fa385bc37f 100644 --- a/tests/test_score_total_yn/results.py +++ b/tests/test_score_total_yn/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_seed/results.py b/tests/test_seed/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_seed/results.py +++ b/tests/test_seed/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_source_angle_mono/results.py b/tests/test_source_angle_mono/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_source_angle_mono/results.py +++ b/tests/test_source_angle_mono/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_source_energy_maxwell/results.py b/tests/test_source_energy_maxwell/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_source_energy_maxwell/results.py +++ b/tests/test_source_energy_maxwell/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_source_energy_mono/results.py b/tests/test_source_energy_mono/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_source_energy_mono/results.py +++ b/tests/test_source_energy_mono/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_source_file/results.py b/tests/test_source_file/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_source_file/results.py +++ b/tests/test_source_file/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_source_point/results.py b/tests/test_source_point/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_source_point/results.py +++ b/tests/test_source_point/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_sourcepoint_batch/results.py b/tests/test_sourcepoint_batch/results.py index 96984b2fae..1f9f4f1a8d 100644 --- a/tests/test_sourcepoint_batch/results.py +++ b/tests/test_sourcepoint_batch/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_sourcepoint_interval/results.py b/tests/test_sourcepoint_interval/results.py index 96984b2fae..1f9f4f1a8d 100644 --- a/tests/test_sourcepoint_interval/results.py +++ b/tests/test_sourcepoint_interval/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_sourcepoint_latest/results.py b/tests/test_sourcepoint_latest/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_sourcepoint_latest/results.py +++ b/tests/test_sourcepoint_latest/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_sourcepoint_restart/results.py b/tests/test_sourcepoint_restart/results.py index f4c32a893f..fa385bc37f 100644 --- a/tests/test_sourcepoint_restart/results.py +++ b/tests/test_sourcepoint_restart/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_statepoint_batch/results.py b/tests/test_statepoint_batch/results.py index 112c005167..39f6af12f2 100644 --- a/tests/test_statepoint_batch/results.py +++ b/tests/test_statepoint_batch/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_statepoint_interval/results.py b/tests/test_statepoint_interval/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_statepoint_interval/results.py +++ b/tests/test_statepoint_interval/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_statepoint_restart/results.py b/tests/test_statepoint_restart/results.py index dd9dedd035..b5daa76874 100644 --- a/tests/test_statepoint_restart/results.py +++ b/tests/test_statepoint_restart/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_statepoint_sourcesep/results.py b/tests/test_statepoint_sourcesep/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_statepoint_sourcesep/results.py +++ b/tests/test_statepoint_sourcesep/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_survival_biasing/results.py b/tests/test_survival_biasing/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_survival_biasing/results.py +++ b/tests/test_survival_biasing/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_tally_assumesep/results.py b/tests/test_tally_assumesep/results.py index 3cba794205..9b283b63a3 100644 --- a/tests/test_tally_assumesep/results.py +++ b/tests/test_tally_assumesep/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_tally_nuclides/results.py b/tests/test_tally_nuclides/results.py index 3aa0946a5d..4f155fb0f9 100644 --- a/tests/test_tally_nuclides/results.py +++ b/tests/test_tally_nuclides/results.py @@ -4,7 +4,7 @@ import sys import numpy as np # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_trace/results.py b/tests/test_trace/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_trace/results.py +++ b/tests/test_trace/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_translation/results.py b/tests/test_translation/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_translation/results.py +++ b/tests/test_translation/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_uniform_fs/results.py b/tests/test_uniform_fs/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_uniform_fs/results.py +++ b/tests/test_uniform_fs/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_universe/results.py b/tests/test_universe/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_universe/results.py +++ b/tests/test_universe/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file diff --git a/tests/test_void/results.py b/tests/test_void/results.py index 8ff10971cd..be13ee66f1 100644 --- a/tests/test_void/results.py +++ b/tests/test_void/results.py @@ -3,7 +3,7 @@ import sys # import statepoint -sys.path.append('../../src/utils') +sys.path.insert(0, '../../src/utils') import statepoint # read in statepoint file