Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the different rmatrix background options to the samm.f90 coding. The background data is stored in a new array and the rmatrix is modified when required (subroutine setr). All three options (arbitrary tabulated complex function, Sammy and Frohner parametrisation) are supported.
This change is made in anticipation of a new Sr88 evaluation that will make it into ENDF/B-VIII.1 that uses the background rmatrix option (the Sammy parametrisation in particular). The test results have not been compared to Sammy data (I'm waiting on ORNL feedback) but that does not have to stop us to start the review process.
Little caveat: the use of these background options requires updates to the partial derivatives - which are used by ERRORR when MF32 covariances are used. I updated dead code that seemed to add these derivatives for the Sammy parametrisation but none of the other options have any logic in the code to calculate these derivatives. Since the original code was never used, I'm also not sure of the results. Luckily for us, the Sr88 evaluation currently does not have covariance data associated to them.
I also updated the code to add a number of error messages:
For more information on these options: https://www.nndc.bnl.gov/endf/format/endf-manual-latest.pdf