Skip to content

Commit 2b9c15b

Browse files
committed
Added test 47 for checking GENDF file changes and consistency with ERRORR
1 parent 4387cd8 commit 2b9c15b

12 files changed

+19070
-0
lines changed

docs/testDescription.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,3 +221,28 @@ title: NJOY2016 Test Descriptions
221221

222222
The tests cover all possible combinations of the competition flags (no competition, only inelastic competition, only absorption competition and both) for each possible value of the LSSF flag (0 or 1). These tests are related to test 31.
223223

224+
## Test Problem 43-44
225+
226+
[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/tests/43/input)]
227+
[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/tests/44/input)]
228+
229+
Tests 43 and 44 were added to test an issue encountered when using `BROADR`. A high value of thnmax close to the upper energy value of the energy range lead to `BROADR` crashing. This appeared to happen when the actual temperature was zero (in that case, broadr will only thin the cross sections) and non zero (in which case broadr will apply broadening). Both cases needed their own fix so a specific test for each was added to detect this problem in the future.
230+
231+
## Test Problem 45
232+
233+
[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/tests/45/input)]
234+
235+
This test was added following an issue identified in `GASPR` concerning the charged particle production cros ssections when the original ENDF tape does not contain the summation cross section when individual levels are present. This lead to double counting of these levels. This test was added to detect this problem in the future.
236+
237+
## Test Problem 46
238+
239+
[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/tests/46/input)]
240+
241+
This test was added following a fix in `ERRORR`. NJOY set the number of subsections to be treated for MF34 to 1, even though the ENDF-6 format allows using more than 1 subsection in MF34. This test was added to detect this problem in the future.
242+
243+
## Test Problem 47
244+
245+
[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/tests/47/input)]
246+
247+
This test is added following a change in `GROUPR` for the MF6 MT18 part of the GENDF file. Versions prior to NJOY 2016.49 only gave the infinite dilute fission matrix, independent of the number of sigma0 values requested by the user. This test runs two `GROUPR` runs, one with only infinite dilute and another one with two sigma0 values (including infinite dilute). The test also contains `ERRORR` runs for MF35 covariances to verify that the `ERRORR` module still gives the same results (only infinite dilute data is used) when using either of the produced GENDF files.
248+

tests/47/CMakeLists.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/input"
2+
"${CMAKE_CURRENT_BINARY_DIR}/input" COPYONLY )
3+
4+
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape45"
5+
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape45" COPYONLY )
6+
7+
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape46"
8+
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape46" COPYONLY )
9+
10+
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape47"
11+
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape47" COPYONLY )
12+
13+
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape48"
14+
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape48" COPYONLY )
15+
16+
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape55"
17+
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape55" COPYONLY )
18+
19+
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape56"
20+
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape56" COPYONLY )
21+
22+
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape57"
23+
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape57" COPYONLY )
24+
25+
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape58"
26+
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape58" COPYONLY )
27+
28+
configure_file("${RESOURCES}/n-094_Pu_239-ENDF8.0-Beta6.endf"
29+
"${CMAKE_CURRENT_BINARY_DIR}/tape20" COPYONLY )
30+
31+
add_test( NAME "Test47"
32+
COMMAND ${PYTHON_EXECUTABLE} "../execute.py"
33+
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" )

tests/47/input

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
moder
2+
20 -21
3+
reconr
4+
-21 -22
5+
'PU239'
6+
9437 0 0
7+
0.001 0.0 0.01 5e-8
8+
0 /
9+
broadr
10+
20 -22 -21
11+
9437 1 0 0 0.0
12+
0.001 1e+6 0.01 5e-8
13+
293.6
14+
0 /
15+
unresr
16+
20 -21 -22 /
17+
9437 1 2 1 /
18+
293.6 /
19+
1e+10 1 /
20+
0 /
21+
groupr
22+
20 -22 0 -25
23+
9437 3 0 2 1 1 1 0 /
24+
'PU239'
25+
293.6
26+
1e+10
27+
3/
28+
5 18 'xi'/
29+
6/
30+
0/
31+
0/
32+
groupr
33+
20 -22 0 -35
34+
9437 3 0 2 1 1 2 0 /
35+
'PU239'
36+
293.6
37+
1e+10 1
38+
3/
39+
5 18 'xi'/
40+
6/
41+
0/
42+
0/
43+
moder
44+
-25 45
45+
moder
46+
-35 55
47+
errorr
48+
20 0 -25 -22 0 0
49+
9437 3 2 1 1 /
50+
0 293.6
51+
0 35 1 1 2 /
52+
covr
53+
-22 0 46 /
54+
1/
55+
/
56+
/
57+
9437 /
58+
viewr
59+
46 47
60+
moder
61+
-22 48
62+
errorr
63+
20 0 -35 -22 0 0
64+
9437 3 2 1 1 /
65+
0 293.6
66+
0 35 1 1 2 /
67+
covr
68+
-22 0 56 /
69+
1/
70+
/
71+
/
72+
9437 /
73+
viewr
74+
56 57
75+
moder
76+
-22 58
77+
stop
78+

0 commit comments

Comments
 (0)