Commit graph

198 commits

Author SHA1 Message Date
Paul Romano
c80379a488 Docfix for openmc.data.Library.get_by_material 2018-04-13 15:04:04 -05:00
Paul Romano
507c155560
Merge pull request #983 from smharper/wmp_cleanup
Clean up the multipole file format
2018-03-19 17:49:27 -05:00
Sterling Harper
efade329a8 Address #983 comments 2018-03-19 12:55:46 -04:00
Paul Romano
c83b890869 Use ufloat for stochastic volume results 2018-03-19 10:40:45 -05:00
Paul Romano
dca39f87e2 Use gnd_name in _get_metadata 2018-03-15 11:02:07 -05:00
Paul Romano
ac28407aa2 Don't have atomic_mass/atomic_weight return None for invalid 2018-03-15 11:02:07 -05:00
Paul Romano
0508274a3d Add useful warnings for add_nuclide/add_element 2018-03-15 11:02:07 -05:00
Sterling Harper
ba15959728 Add WMP writing functionality to PyAPI 2018-03-13 21:36:00 -04:00
Sterling Harper
7bb066bc9a Infer WMP vales like num_l and fissionable 2018-03-13 17:15:58 -04:00
Paul Romano
7ee08d5280 Add gnd_name function 2018-03-01 23:08:43 -06:00
Paul Romano
5993a59196 Address first round of comments on #976 2018-02-27 07:22:27 -06:00
Paul Romano
e3d6189cfa Make sure Decay.half_life is set, even for stable nuclides 2018-02-26 22:12:14 -06:00
Paul Romano
ab00421c0e Add test for Chain.from_endf. Remove tqdm dependence. 2018-02-23 11:37:55 -06:00
Paul Romano
7622a1a394 Add methods on Material to get mass (if volume specified) 2018-02-22 16:00:32 -06:00
Paul Romano
1ee27edc8c Rename DepletionChain -> Chain 2018-02-14 10:45:39 -06:00
Sterling Harper
d34bdf9b98 Address #967 comments 2018-02-11 18:39:06 -05:00
Sterling Harper
9c53c085d6 Change boric_acid to borated_water; add more units 2018-02-11 15:01:51 -05:00
Sterling Harper
bb4ac5a7b2 Add IAPWS water density data 2018-02-10 01:04:45 -05:00
Paul Romano
d3d6dc87dc Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00
Paul Romano
deab4b3d33 Use empty-argument form of super() 2018-02-05 23:14:30 -05:00
Paul Romano
1ccf6c3e5e Use tempfile.TemporaryDirectory() 2018-02-05 23:14:30 -05:00
Paul Romano
c428cee667 Remove __future__ and six imports 2018-02-05 23:14:30 -05:00
Sterling Harper
d5eef5d9f0 Cleanup naming and a divide-by-zero for multipole 2018-01-11 22:19:44 -05:00
Paul Romano
4d3da2e5b1 Use itertools.chain in get_thermal_name 2018-01-11 06:22:07 -06:00
Paul Romano
9f7e5e85e7 Improve guessing in openmc.data.get_thermal_name 2018-01-09 06:22:55 -06:00
Paul Romano
530f33907b Raise CalledProcessError when NJOY fails. Py2 fix in laboratory.py 2018-01-09 06:22:55 -06:00
Paul Romano
6996bbde5c Improve coverage of openmc.data (decay, neutron, miscellaneous) 2018-01-09 06:22:55 -06:00
Paul Romano
2e5bfecdaf Add tests for openmc.data.thermal 2018-01-09 06:22:55 -06:00
Paul Romano
e94dd55b31 More unit tests for openmc.data and a few small fixes 2018-01-09 06:22:55 -06:00
Paul Romano
4e9ee6c2e2 Start adding unit tests for openmc.data 2018-01-09 06:22:55 -06:00
Sterling Harper
0460d9a538 Allow optional 'latest' libver for HDF5 xs data 2017-12-17 19:48:08 -05:00
Sterling Harper
f754357aea Use 'earliest' libver in h5py for backwards-compat 2017-12-16 19:56:34 -05:00
liangjg
18f7ae3a46 address @Paul's comments
write NJOY input into file rather than printing on screen
_ACE_TEMPLATE -> _TEMPLATE
2017-08-02 11:08:33 -04:00
liangjg
3f1416a17c add argument to support printing NJOY input commands 2017-08-01 09:55:32 -04:00
liangjg
ac4b8d752a allow to omit specific modules in generating data from njoy
added several arguments for the modules
2017-07-31 22:48:56 -04:00
liangjg
8bb990b65a remove the argument "error" out of "from_njoy" function 2017-07-31 21:51:11 -04:00
liangjg
7988bad6da made error tolerance a parameter for generating data from njoy 2017-07-28 12:00:27 -04:00
liangjg
35d24a955d skip adding 0K elastic xs if it already exists 2017-07-28 10:08:37 -04:00
Paul Romano
b2213ff343 Set elastic type in ACER card 9 correctly 2017-06-19 11:12:08 -05:00
Paul Romano
c9e2e4337b Fix maximum energy for generating thermal ACE files 2017-06-07 20:12:51 -05:00
Paul Romano
323d41a413 Force excited state for Am242_m1 to be 2 2017-05-30 14:05:08 -05:00
Paul Romano
83e1df4615 Ability to read products/yields from files 9 and 10 2017-05-30 08:29:36 -05:00
jingang
8c4d71db9e imported sqrt from math as well 2017-05-22 17:14:25 -04:00
jingang
379603a03f imported exp, erf, pi funtion from math package 2017-05-22 16:12:36 -04:00
liangjg
031ae73516 addressed @paul's comments 2017-05-19 16:12:24 -04:00
liangjg
b93916beb4 fixed several bugs in multipole python api module
1. read non-fissionable nuclide
2. evaluate xs correctly (same as the function in openmc)
2017-05-19 13:44:37 -04:00
Paul Romano
c1850bd926 Always calculating heating partials for MT=302,318,402 2017-05-03 11:23:35 -05:00
Paul Romano
cbf539dae3 Change thnmax for BROADR and only specify one sigz for PURR 2017-05-03 06:04:39 -05:00
Paul Romano
1e315e7af3 Fix adding fission energy release 2017-04-28 06:42:29 -05:00
Paul Romano
31e5a9e081 Fix saving pendf in make_ace 2017-04-28 06:42:29 -05:00