Fixing ordering comment

This commit is contained in:
Patrick Shriwise 2022-03-11 09:28:07 -06:00
parent 3301c50d0e
commit 4a0f32fc23

View file

@ -572,10 +572,10 @@ def wwinp_to_wws(path):
e_bounds *= 1E6
# create an array for weight window lower bounds
# # MCNP ordering for weight windows matches that of OpenMC
# # ('xyz' with x changing fastest)
ww_lb = np.zeros((*mesh.dimension, ne))
for ijk in mesh.indices:
# MCNP ordering for weight windows matches that of OpenMC
# ('xyz' with x changing fastest)
idx = tuple([v - 1 for v in ijk] + [slice(None)])
ww_lb[idx] = [float(next(wwinp)) for _ in range(ne)]