Closed MAS-OUD closed 2 years ago
Hmm, interesting. I'll have a look to see what's going on. Thanks for pointing this out.
Little update on this one:
I have a working branch with an updated moder (fix/moder) but I am seeing issues when using a binary photoatomic file together with a binary atomic relaxation file in ACER. I still need to figure out what's up with that. In ASCII mode, all works normally.
@whaeck a though from the past, there is absolutely no reasons been physical or numerical to parse atomic relaxation or charged particles evaluations through moder as the ASCII forms of those are more than sufficient for useful application. MODER BCD means binary coded data and was never intended to covers all forms of the nuclear data NJOY's module can handle. It is in fact pretty bold, inutile, likely to have unforeseen consequence to do so.
The remaining issue was a missing repoz(in) call, see the fix/moder branch. It now works properly, both binary and ascii input tapes for ACER give the same ACE file.
It appears that
MODER
doesn't work for Atomic Relaxation Data (NSUB = 6). In the following, tape 20 is the Atomic Relaxation Data from the ENDF/B-VIII.0 library:or
both fail with the error