Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
1eace57
tempr has to be deallocated before processing secondary scatterer
marquezj May 4, 2017
8476893
Fixes conflicts between COLDH and SKOLD subroutines
marquezj May 4, 2017
0007999
Added smin as a parameter for evaluations that require a smaller value
marquezj May 8, 2017
cfc87fa
Merge branch 'feature/NaNs' of https://github.com/njoy/NJOY2016
marquezj May 8, 2017
01cc63d
Added test 22: ENDF/B-VIII.0 LEAPR input for ortho H
marquezj May 8, 2017
7bf0526
Wrong reference tape, changed for para-H
marquezj May 8, 2017
e728e42
Revert "Wrong reference tape, changed for para-H"
marquezj May 8, 2017
5c2951b
Revert "Added test 22: ENDF/B-VIII.0 LEAPR input for ortho H"
marquezj May 8, 2017
43d20d8
Added test 22: ENDF/B-VIII.0 LEAPR input for para H
marquezj May 8, 2017
2eb441f
Needs line numbers?
marquezj May 8, 2017
0b81fcf
Try different reference tape
marquezj May 8, 2017
e54429d
Updating time limit for building/running tests.
May 8, 2017
c68fd68
Revert "Try different reference tape"
marquezj May 8, 2017
56634f1
Revert "Needs line numbers?"
marquezj May 8, 2017
760a70c
Revert "Added test 22: ENDF/B-VIII.0 LEAPR input for para H"
marquezj May 8, 2017
6c12d46
Revert "Revert "Added test 22: ENDF/B-VIII.0 LEAPR input for ortho H""
marquezj May 8, 2017
225560b
Revert "Revert "Wrong reference tape, changed for para-H""
marquezj May 8, 2017
38906cd
Revert "Wrong reference tape, changed for para-H"
marquezj May 8, 2017
fdf51c4
Revert "Added test 22: ENDF/B-VIII.0 LEAPR input for ortho H"
marquezj May 8, 2017
8b79120
Merge branch 'master' of https://github.com/marquezj/NJOY2016
marquezj May 8, 2017
265ee6b
"merged changes from upd repository commit 6427fff1b31ddf04784a995da5…
May 9, 2017
51dc7ba
Fixing travis signature file.
May 9, 2017
7b3640f
Adding command to update pip before running coveralls.
May 9, 2017
5a12921
Added test 22: ENDF/B-VIII.0 LEAPR input for para H
marquezj May 9, 2017
cbda407
Added test 23: ENDF/B-VI.8 LEAPR input for para BeO
marquezj May 31, 2017
a3a8806
Added descriptions to tests 22 and 23
marquezj May 31, 2017
45dfd1c
Changing default value of smin to 1E-75.
Jun 5, 2017
5ca8cf1
Specifying non-default value for smin in LEAPR.
Jun 5, 2017
971d62c
Fixing error in test inputs.
Jun 5, 2017
b2beb2e
Merge pull request #19 from marquezj/master
jlconlin Jun 5, 2017
e91292d
Attempting an update.
jlconlin Jul 20, 2017
5e26aa4
Merge pull request #2 in NJOY21/njoy-git from feature/Strange to master
jlconlin Aug 7, 2017
ccfbc57
Merge pull request #31 from njoy/feature/new_meta
jlconlin Aug 7, 2017
5d4a2de
"merged changes from upd repository commit 87dd33dbc3d4d3a2a07559155e…
jlconlin Aug 31, 2017
803ca5a
Merge branch 'master' of github.com:njoy/NJOY2016
jlconlin Aug 31, 2017
70d084d
Modified moder to correctly read the new mf6 mt18 structure, tested o…
whaeck Sep 21, 2017
cf91b2b
Merge pull request #33 from njoy/feature/moder-mf6
whaeck Sep 22, 2017
5874ed1
Updated moder to take into account format changes in MF1 MT458 for EN…
whaeck Sep 22, 2017
06491bb
Corrected if statement: the LO flag is the L1 value on the HEAD recor…
whaeck Sep 22, 2017
a6d8d62
Corrected another if statement: the LO flag is the L1 value on the HE…
whaeck Sep 22, 2017
3718c57
Corrected error message for mf32
whaeck Sep 22, 2017
a20f916
Merge pull request #34 from njoy/feature/moder-endf8
whaeck Sep 23, 2017
428174a
Fixed an issue when processing an ENDF file using the new negative la…
whaeck Sep 29, 2017
aa4ada2
Merge pull request #35 from njoy/feature/groupr-endf8
whaeck Oct 2, 2017
94fabe5
Trying to skip MF=6,MT=18 in GROUPR.
jlconlin Oct 12, 2017
5a7580c
Implementing Skip's fix for this MF6/MT18 format change.
jlconlin Oct 16, 2017
08d2a40
Improving getyld error message.
jlconlin Oct 19, 2017
f26f1cb
Merge pull request #42 from njoy/feature/groupr-endf8
jlconlin Oct 22, 2017
7b32161
Fix Windows ctest failure.
jlconlin Oct 25, 2017
9e2397c
Merge pull request #43 from njoy/fix/windows_ctest
jlconlin Nov 2, 2017
4e5838a
Added appveyor.yml file.
Nov 3, 2017
63f4aaa
Appveyor testing.
Nov 3, 2017
d09e0a7
Appveyor testing.
Nov 3, 2017
d6c03de
Appveyor testing.
Nov 3, 2017
d582d4f
Appveyor testing.
Nov 3, 2017
1900dbe
Appveyor testing.
Nov 3, 2017
2c4ae05
Appveyor testing.
Nov 3, 2017
862cd4d
Appveyor testing.
Nov 3, 2017
61da886
Appveyor testing.
Nov 6, 2017
166e1aa
Appveyor testing.
Nov 6, 2017
af2b184
Appveyor testing.
Nov 6, 2017
1979e43
Appveyor testing.
Nov 6, 2017
dca4767
Appveyor testing.
Nov 6, 2017
bc9bb82
Appveyor testing.
Nov 6, 2017
0fec2dc
Appveyor testing.
Nov 7, 2017
a944e56
Appveyor testing.
Nov 7, 2017
4993e8d
Appveyor testing.
Nov 7, 2017
5c3bc7e
Appveyor testing.
Nov 7, 2017
04201b1
Appveyor testing.
Nov 7, 2017
3ead4a4
Appveyor testing.
Nov 7, 2017
c61086d
Appveyor testing.
Nov 7, 2017
c814c09
Appveyor testing.
Nov 7, 2017
e04753d
Appveyor testing.
Nov 7, 2017
8a61011
Appveyor testing.
Nov 7, 2017
c5ad992
Appveyor testing.
Nov 7, 2017
d2b05fb
Appveyor testing.
Nov 7, 2017
f4c40b0
Appveyor testing.
Nov 7, 2017
f58f378
Appveyor testing.
Nov 7, 2017
832163d
Appveyor testing.
Nov 7, 2017
67d112c
Appveyor testing.
Nov 7, 2017
7481466
Appveyor testing.
Nov 7, 2017
47112d9
Appveyor testing.
Nov 7, 2017
e9a21b3
Appveyor testing.
Nov 7, 2017
58564be
Appveyor testing.
Nov 7, 2017
92004df
Appveyor testing.
Nov 7, 2017
2a6d467
Appveyor testing.
Nov 7, 2017
810ae6c
Appveyor testing.
Nov 8, 2017
4be5591
Appveyor testing.
Nov 8, 2017
3ad7b73
Appveyor testing.
Nov 8, 2017
331720a
Appveyor testing.
Nov 8, 2017
4e60a5c
Appveyor testing.
Nov 8, 2017
68f94b2
Appveyor testing.
Nov 8, 2017
57757e5
Adding dockerfile that builds and passes all tests when run.
Nov 11, 2017
a608f2a
Trying to make cygwin builds pass by modifying git's behavior around …
Nov 27, 2017
3311342
Trying again.
Nov 27, 2017
b8ac8b9
Appveyor testing.
Nov 28, 2017
58338ea
Appveyor testing.
Nov 28, 2017
9324e6f
Appveyor testing.
Nov 28, 2017
b8e01cc
Appveyor testing.
Nov 28, 2017
a68d031
Appveyor testing.
Nov 28, 2017
594e313
Appveyor testing.
Nov 28, 2017
d6a82eb
Appveyor testing.
Nov 28, 2017
7ea88f0
Appveyor testing.
Nov 28, 2017
a517a9a
Appveyor testing.
Nov 28, 2017
ce5bf34
Appveyor testing.
Nov 28, 2017
09cfaf6
Appveyor testing.
Nov 28, 2017
554b543
Appveyor testing.
Nov 29, 2017
e025fd1
Appveyor testing.
Nov 29, 2017
d267c3d
Determined that Appveyor cygwin failures were within acceptable toler…
Nov 29, 2017
f2d0a88
Merge branch 'docker' of github.com:njoy/NJOY2016 into WindowsyLinux
Dec 5, 2017
81ddf0e
Removed Python 3.4+ requirement.
Dec 12, 2017
708edca
Merge pull request #45 from njoy/WindowsyLinux
jlconlin Dec 13, 2017
989bad1
Implemented the use of MT458 LFC=1 tabulated components and modified …
whaeck Dec 13, 2017
b3f9e16
Merge branch 'master' into feature/heatr-endf8
whaeck Dec 13, 2017
68717dd
Added test to check for consistent upper energies in tabulated compon…
whaeck Dec 13, 2017
5d8a034
Added test to detect if no tabulated components are given, added test…
whaeck Dec 14, 2017
8cde0f7
Updated output and tapes for tests 7 and 19 (which include heatr). On…
whaeck Dec 14, 2017
e73380a
Set NJOY2016 version number to 21
whaeck Dec 15, 2017
c21d6fa
Fixed an issue when reading ENDF/B-VIIIb6 Pu239 MT458 tabulated compo…
whaeck Jan 8, 2018
55917bc
Merge pull request #49 from njoy/feature/heatr-endf8
jlconlin Jan 8, 2018
a05b4f5
Added a correction when using mf8 for particle production when mt=18 …
whaeck Jan 8, 2018
c63b344
Added special case mfd=40000000 for fission in mf10
whaeck Jan 8, 2018
3816ea8
Added a convergence test in rpxsamm from errorr for lrf=7 following i…
whaeck Jan 9, 2018
4ccad6e
Forgot to deallocate arrays in case heatr is run multiple times
whaeck Jan 9, 2018
1f9a95f
Moved deallocation to the end of the heatr routine, it is cleaner thi…
whaeck Jan 9, 2018
8bd0c5c
Merge pull request #54 from njoy/feature/heatr-endf8
jlconlin Jan 10, 2018
d49e1a6
Modified NJOY version number and date
whaeck Jan 10, 2018
10430c1
Merge pull request #55 from njoy/feature/groupr-endf8
whaeck Jan 10, 2018
89fa9eb
Added test 24: mf1 mt458 tabulated fission energy release components …
whaeck Jan 10, 2018
232d386
Added test 25: producing continuous energy thermal scattering ACE files
whaeck Jan 11, 2018
14b2967
Making a fuzzy diff of the numbers in any output file.
jlconlin Jan 12, 2018
cf44abf
Fixed an issue when using heatr with an actinide file without an mf1/…
whaeck Jan 18, 2018
e820c3e
Changing the default values for relative/absolute errors.
jlconlin Jan 18, 2018
baf3f2c
Modified NJOY version number and date
whaeck Jan 18, 2018
83b8102
Updating diffing scheme.
jlconlin Jan 18, 2018
9ae8e91
Merge pull request #57 from njoy/feature/diff
whaeck Jan 18, 2018
d34ab10
Merge branch 'master' into feature/heatr-endf8
whaeck Jan 18, 2018
319ec0d
Added a test for HEATR using an ENDF file for a fissile nuclide witho…
whaeck Jan 18, 2018
8185370
Merge pull request #58 from njoy/feature/heatr-endf8
jlconlin Jan 18, 2018
d729d6b
Fixed a division by zero for Po210 from ENDF/B-VIII.0b7 (fix proposed…
whaeck Jan 24, 2018
2a11fc1
Changed test 21 results, following changes in purr that impacted Fe58…
whaeck Jan 24, 2018
3f6d578
Modified ace plotting routines to resolve an issue with test 24 not r…
whaeck Jan 24, 2018
6dcf58e
Changed NJOY version and date
whaeck Jan 24, 2018
86b6236
Merge pull request #59 from njoy/feature/purr-endf8
whaeck Jan 24, 2018
c5c9c83
Merge branch 'master' into feature/errorr-endf8
whaeck Jan 25, 2018
b8e2881
Corrected a print out of the covariance energy range for mf35 (used t…
whaeck Jan 27, 2018
7a74d5c
Added test 27 for errorr mf35 processing
whaeck Jan 29, 2018
d75dc8b
Updated NJOY version number and date
whaeck Jan 29, 2018
83a4c3b
Changed error message in purr to give the correct subroutine name
whaeck Jan 29, 2018
476f822
Merge pull request #60 from njoy/feature/errorr-endf8
whaeck Jan 29, 2018
eb1dade
Add more beta values for the calculations of S(ab.b) as free gas in T…
marquezj Jan 30, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gcc; fi

script: "travis_wait 30 ./.travis/build.sh"
script: "travis_wait 40 ./.travis/build.sh"
after_success: "./.travis/signature.sh"

env:
Expand Down
1 change: 1 addition & 0 deletions .travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ then
fi
if [ "$build_type" = "coverage" ]
then
pip install --upgrade pip
pip install --user cpp-coveralls
echo "loading coverage information"
coveralls --exclude-pattern "/usr/include/.*|.*/CMakeFiles/.*|.*subprojects.*|.*dependencies.*|.*test\.cpp" --root ".." --build-root "." --gcov-options '\-lp'
Expand Down
10 changes: 5 additions & 5 deletions .travis/signature.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#! /bin/bash

echo "TRAVIS_PULL_REQUEST: $TRAVIS_PULL_REQUEST"
echo "TRAVIS_BRANCH: $TRAVIS_BRANCH"
if [ "$TRAVIS_PULL_REQUEST" = false ] && [ "$TRAVIS_BRANCH" = "master" ]; then
git config --global user.email "[email protected]"
git config --global user.name "Travis CI"
if [ "$TRAVIS_PULL_REQUEST" = false ] &&
[ "$TRAVIS_BRANCH" = "master" ] &&
[ "$build_type" = "coverage" ]; then
git config --global user.email "[email protected]"
git config --global user.name "Jeremy Lloyd Conlin"

timestamp=`date +%F_%T`

Expand Down
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM debian:latest

RUN apt update && apt upgrade -y && \
apt install gfortran cmake python3 git -y && \
git clone https://github.com/njoy/NJOY2016.git &&\
cd NJOY2016 && mkdir build && cd build &&\
cmake .. && \
make

ENTRYPOINT [ "/bin/bash" ]
78 changes: 78 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
image:
- "Visual Studio 2017"

shallow_clone: false

environment:
MINGW_DIR: C:\msys64\mingw64\bin
Path: C:\Python34-x64\;%MINGW_DIR%;%Path%
matrix:
-
CMAKE_BUILD: cygwin
STATIC_LIBS: true
CYGWIN_NOWINPATH: yes
clone_folder: "C:\\cygwin\\projects\\NJOY2016"
CYG_BASH: C:\cygwin\bin\bash
CYG_CACHE: C:\cygwin\var\cache\setup
CYG_MIRROR: http://cygwin.mirror.constant.com
CYG_ROOT: C:\cygwin
CC: /usr/bin/gcc
CXX: /usr/bin/g++
FC: /usr/bin/gfortran
-
CMAKE_BUILD: MSYS
STATIC_LIBS: true
clone_folder: "C:\\projects\\NJOY2016"
CC: "%MINGW_DIR%\\gcc.exe"
CXX: "%MINGW_DIR%\\g++.exe"
FC: "%MINGW_DIR%\\gfortran.exe"
TMP_PATH: "C:\\Program Files (x86)\\CMake\\bin;C:\\Python34-x64;%MINGW_DIR%;C:\\Program Files\\Git\\cmd;C:\\msys64;C:\\Program Files\\Git\\usr\\bin"
-
CMAKE_BUILD: MSYS
STATIC_LIBS: false
clone_folder: "C:\\projects\\NJOY2016"
CC: "%MINGW_DIR%\\gcc.exe"
CXX: "%MINGW_DIR%\\g++.exe"
FC: "%MINGW_DIR%\\gfortran.exe"
TMP_PATH: "C:\\Program Files (x86)\\CMake\\bin;C:\\Python34-x64;%MINGW_DIR%;C:\\Program Files\\Git\\cmd;C:\\msys64;C:\\Program Files\\Git\\usr\\bin"
-
CMAKE_BUILD: MinGW
STATIC_LIBS: true
clone_folder: "C:\\projects\\NJOY2016"
CC: "%MINGW_DIR%\\gcc.exe"
CXX: "%MINGW_DIR%\\g++.exe"
FC: "%MINGW_DIR%\\gfortran.exe"
TMP_PATH: "C:\\Program Files (x86)\\CMake\\bin;C:\\Python34-x64;%MINGW_DIR%;C:\\Program Files\\Git\\cmd;C:\\msys64;C:\\Program Files\\Git\\usr\\bin"
-
CMAKE_BUILD: MinGW
STATIC_LIBS: false
clone_folder: "C:\\projects\\NJOY2016"
CC: "%MINGW_DIR%\\gcc.exe"
CXX: "%MINGW_DIR%\\g++.exe"
FC: "%MINGW_DIR%\\gfortran.exe"
TMP_PATH: "C:\\Program Files (x86)\\CMake\\bin;C:\\Python34-x64;%MINGW_DIR%;C:\\Program Files\\Git\\cmd;C:\\msys64;C:\\Program Files\\Git\\usr\\bin"

init:
- if [%CMAKE_BUILD%]==[cygwin] git config --global core.autocrlf input

install:
- if [%CMAKE_BUILD%]==[cygwin] C:\cygwin\setup-x86.exe -q --root %CYG_ROOT% --local-package-dir %CYG_CACHE% --packages cmake,make,git,python3,gcc-core,gcc-g++,gcc-fortran --force-current --no-shortcuts --no-startmenu --no-desktop

before_build:
- if not [%CMAKE_BUILD%]==[cygwin] set OrigPath=%Path%
- if [%CMAKE_BUILD%]==[cygwin] set Path=C:\cygwin\bin

build_script:
- mkdir build
- cd build
- if [%CMAKE_BUILD%]==[cygwin] %CYG_BASH% -c "/usr/bin/cmake -D static=%STATIC_LIBS% -G \"Unix Makefiles\" .."
- if [%CMAKE_BUILD%]==[cygwin] %CYG_BASH% -c "/usr/bin/make -j2"
# Non-cygwin builds
- if not [%CMAKE_BUILD%]==[cygwin] set Path=%TMP_PATH%
- if not [%CMAKE_BUILD%]==[cygwin] cmake -D CMAKE_Fortran_COMPILER=C:/msys64/mingw64/bin/gfortran.exe -D CMAKE_MAKE_PROGRAM=C:/msys64/mingw64/bin/mingw32-make.exe -D static=%STATIC_LIBS% -G "%CMAKE_BUILD% Makefiles" ..
- if not [%CMAKE_BUILD%]==[cygwin] set Path=%OrigPath%
- if not [%CMAKE_BUILD%]==[cygwin] mingw32-make -j2

after_build:
- if [%CMAKE_BUILD%]==[cygwin] %CYG_BASH% -c "ctest -j2 --output-on-failure"
- if not [%CMAKE_BUILD%]==[cygwin] ctest -j2 --output-on-failure
36 changes: 36 additions & 0 deletions docs/testDescription.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,39 @@ title: NJOY2016 Test Descriptions

This test case was developed to check if NaNs were "calculated" in `PURR`. This problem was discovered by Dave Brown and Paul Romano and was fixed in [Pull Request 18](https://github.com/njoy/NJOY2016/pull/18). This test was created in an attempt to prevent this from happening again. (No guarantees.)

## Test Problem 22

[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/test/22/input)]

This test is the LEAPR input for para H2 at 20 K from ENDF/B-VIII.0-beta4. The test checks the compatibility between the skold and coldh subroutines.

## Test Problem 23

[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/test/23/input)]

This test is the LEAPR input for BeO from ENDF/B-VI.8. The test checks the ability to process materials with secondary scatterers.

## Test Problem 24

[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/test/24/input)]

This test is essentially a standard NJOY input file for producing a continuous energy ACE file for Pu239 (it should be noted that `UNRESR` and `PURR` are omitted from this input file due to runtime constraints). The Pu239 evaluation associated to this test contains tabulated fission energy components in MF1 MT458 (a new format made available for ENDF/B-VIII.0). This test was designed to test this new feature in `HEATR`. This test also runs a double heatr run to detect the issue of reallocating arrays in a double heatr run encountered with NJOY 2016.21.

## Test Problem 25

[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/test/25/input)]

This test is essentially a standard NJOY input file for producing continuous energy thermal scattering ACE files for H in H2O. This test produces three ACE files, one for each iwt option value in `ACER`. This test is made in preparation of a fix proposed by D. Roubtsov to solve issues with cosines outside the [-1,1] range produced by `ACER` for thermal scattering files.

## Test Problem 26

[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/test/26/input)]

This test is used to check heatr results using an ENDF file without an MT458 section (fission energy release components) in MF1. This test was added in response to an issue introduced in NJOY 2016.21 involving such ENDF files.

## Test Problem 27

[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/test/27/input)]

This test is used to complete testing for the `ERRORR` module when processing MF35 covariances. Test 18 already has a test for this, but it uses an evaluation with a single covariance energy range (between 0 and 20 MeV). This test uses a Pu239 evaluation in which MF35 is composed of multiple covariance ranges. `ERRORR` is called twice in this run, once for the second range (between 5 and 6.5 MeV) and a second time using the -1 option with an efmean equal to 5.75 MeV (which should also be the second range). Both `ERRORR` runs should give the same results.

8 changes: 4 additions & 4 deletions metaconfigure/fetch_subprojects.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def clone_submodule( relative_path ):
----------------------------------------
""".format( relative_path = relative_path ) ) )
invocation = [ "git", "submodule", "update", "-q","--init", "--", relative_path ]
if os.name == "nt":
invocation.insert( 0, "powershell" )
# if os.name == "nt":
# invocation.insert( 0, "powershell" )

clone = subprocess.Popen( invocation )
clone.communicate()
Expand All @@ -46,8 +46,8 @@ def update_repository( git ):
else:
print("Checking out revision {}...\n".format( git[ project_name() ] ) )
invocation = ["git", "pull", "-q", "origin", git[ project_name() ] ]
if os.name == "nt":
invocation.insert( 0, "powershell" )
# if os.name == "nt":
# invocation.insert( 0, "powershell" )
update = subprocess.Popen( invocation )
update.communicate()

Expand Down
Loading