mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
added log=True in multipole generation tests
This commit is contained in:
parent
30557b5c83
commit
5357bdabbb
2 changed files with 5 additions and 7 deletions
|
|
@ -455,10 +455,7 @@ def vectfit_nuclide(endf_file, njoy_error=5e-4, vf_pieces=None,
|
|||
E_min, E_max = energy[0], energy[-1]
|
||||
n_points = energy.size
|
||||
total_xs = nuc_ce[1].xs['0K'](energy)
|
||||
try:
|
||||
elastic_xs = nuc_ce[2].xs['0K'](energy)
|
||||
except KeyError:
|
||||
elastic_xs = np.zeros_like(total_xs)
|
||||
elastic_xs = nuc_ce[2].xs['0K'](energy)
|
||||
|
||||
try:
|
||||
absorption_xs = nuc_ce[27].xs['0K'](energy)
|
||||
|
|
@ -1067,7 +1064,8 @@ class WindowedMultipole(EqualityMixin):
|
|||
mp_data : dictionary or str
|
||||
Dictionary or Path to the multipole data stored in a pickle file
|
||||
search : bool, optional
|
||||
Whether to search for optimal window size and curvefit order
|
||||
Whether to search for optimal window size and curvefit order.
|
||||
Defaults to True if no windowing parameters are specified.
|
||||
log : bool or int, optional
|
||||
Whether to print running logs (use int for verbosity control)
|
||||
**kwargs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue