mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Apply suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
def829ad76
commit
2eab6fd335
1 changed files with 2 additions and 2 deletions
|
|
@ -460,7 +460,7 @@ def wwinp_to_wws(path):
|
|||
# create generator for getting the next parameter from the file
|
||||
wwinp = _wwinp_reader(path)
|
||||
|
||||
# first parameter, if, of wwinp file is unused
|
||||
# first parameter, 'if' (file type), of wwinp file is unused
|
||||
next(wwinp)
|
||||
|
||||
# check time parameter, iv
|
||||
|
|
@ -569,7 +569,7 @@ def wwinp_to_wws(path):
|
|||
# it is implied that zero is always the first bound in MCNP
|
||||
e_bounds = np.asarray([0.0] + [float(next(wwinp)) for _ in range(ne)])
|
||||
# adjust energy from MeV to eV
|
||||
e_bounds *= 1E6
|
||||
e_bounds *= 1e6
|
||||
|
||||
# create an array for weight window lower bounds
|
||||
ww_lb = np.zeros((*mesh.dimension, ne))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue