mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Fixing ordering comment
This commit is contained in:
parent
3301c50d0e
commit
4a0f32fc23
1 changed files with 2 additions and 2 deletions
|
|
@ -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)]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue