Closed jlconlin closed 6 years ago
Note: @kahlerac did most of the work on this and gave me the upn file before he retired. I incorporated the changes into git and had to make a few minor changes to get it to compile.
So I looked at the changes in the output files. Can you rerun the tests using a tolerance of 1e-5? That'll allow us to quantify the overall impact of changing the values of the physical constants.
I tested with 1E-5 relative tolerance. This didn't change the test results.
When the comparison is done, the first thing that is done is to count the number of lines in the the generated file and the reference file. If the number of lines are not the same, then no other checking is done. In fact, additional checking can't be done since we do everything line-by-line.
Now, perhaps we should change the way that we compare references files. There is an argument to be made there.
Well, we do test non regression, so if the number of lines is different there is definitely something going on. In those cases a by hand verification is warranted.
I assume that in this case, no files actually get additional lines?
No, there are plenty that get additional lines.
I've updated the constants even more. I double-checked the values put in previously. I used the constants in the ENDF manual and from NIST (when not in the ENDF manual).
By the way, do not forget to update the version number and the date.
In this Pull Request, I've updated the physical constants to something a bit more modern. Of course, this changes virtually all of the reference tapes. Exactly what to do with this is a matter of discussion.