mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
updated unit test case for multipole
This commit is contained in:
parent
9acddce672
commit
ecaf8cbe61
1 changed files with 6 additions and 0 deletions
|
|
@ -59,5 +59,11 @@ def test_export_to_hdf5(tmpdir, u235):
|
|||
def test_from_endf():
|
||||
endf_data = os.environ['OPENMC_ENDF_DATA']
|
||||
endf_file = os.path.join(endf_data, 'neutrons', 'n-001_H_001.endf')
|
||||
return openmc.data.WindowedMultipole.from_endf(
|
||||
endf_file, wmp_options={"n_win": 400, "n_cf": 3})
|
||||
@vf_only
|
||||
def test_from_endf_search():
|
||||
endf_data = os.environ['OPENMC_ENDF_DATA']
|
||||
endf_file = os.path.join(endf_data, 'neutrons', 'n-095_Am_244.endf')
|
||||
return openmc.data.WindowedMultipole.from_endf(
|
||||
endf_file, wmp_options={"search": True})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue