openmc icon indicating copy to clipboard operation
openmc copied to clipboard

Correct MDGXS.print_xs method

Open nelsonag opened this issue 3 years ago • 0 comments

When creating and evaluating #2042, it was identified that the MDGXS class raises both TypeError and IndexErrors when printing any of the delayed MGXS types. Both are due to the shapes of the average cross section and their relative errors (average_xs and rel_err_xs variables, respectively) not being what is expected. The issue could exist in the print_xs methods of MDGXS and MatrixMDGXS, but also could be due to an erroneously implemented dont_squeeze attributes of these classes (and inheriting classes). Further inspection is required.

nelsonag avatar Apr 28 '22 13:04 nelsonag