Commit graph

300 commits

Author SHA1 Message Date
Paul Romano
53b6d8ab11 Change 0.14.0 --> 0.13.2 2022-10-21 07:08:52 -05:00
Paul Romano
a0e5ba4418 Add 0.13.2 release notes 2022-10-21 07:08:49 -05:00
Paul Romano
fe04a839c2 Make sure Material.decay_photon_energy works with no unstable nuclides 2022-10-05 14:28:18 -05:00
Paul Romano
10abbe910a Clarify probability units for decay_photon_energy 2022-09-28 13:25:00 -05:00
Paul Romano
7815a5e02d Address @shimwell comments on #2234 2022-09-28 09:31:12 -05:00
Paul Romano
ce1abc5350 Documentation updates 2022-09-26 12:58:54 -05:00
Paul Romano
a917fd94c1 Add decay_photon_source property on Material 2022-09-26 12:58:53 -05:00
Paul Romano
225e40db0c Add mg_cross_sections to openmc.config 2022-09-07 16:46:10 -05:00
Paul Romano
a074e0a5cf Use openmc.config['cross_sections'] instead of OPENMC_CROSS_SECTIONS 2022-09-07 16:46:10 -05:00
Paul Romano
aea5628819
Merge pull request #2207 from shimwell/type_hinting_for_results
type hints added to openmc.deplete.Results
2022-09-07 16:45:38 -05:00
Paul Romano
b779141b57
Merge pull request #2205 from yardasol/add_components_metastable_fix
Fix errorneous behavior when adding metastable nuclides via `add_components`
2022-09-07 16:45:06 -05:00
Olek
e34f786c6f
str->component in flow control
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-09-07 11:52:06 -05:00
Jonathan Shimwell
225dc5c43c create PathLike type for hints 2022-09-06 17:22:31 +01:00
Olek
2d01241b53
Cleanup flow control for detecting nuclides
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-09-01 14:33:44 -05:00
yardasol
0214b22036 fix errorneous behavior when adding metastable nuclides via add_components 2022-09-01 11:52:21 -05:00
shimwell
b857fbd261 appending to list if not in list 2022-08-29 18:10:52 +01:00
shimwell
5f1b05f5fa added element filter to get_nuclide 2022-08-29 17:01:34 +01:00
Jonathan Shimwell
cacf279fc8 moved parameters below 0.13.1 directive 2022-08-25 15:13:24 +01:00
Jonathan Shimwell
474f0742ba
[skip ci] suggestion from review by @Paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-25 15:10:45 +01:00
Jonathan Shimwell
2a71a244d9 if statement no longer needed 2022-08-23 16:44:56 +01:00
Jonathan Shimwell
6171e09ed3 improved test fixed sum bug 2022-08-23 16:42:22 +01:00
Jonathan Shimwell
085125ef86 added optional nuclide to atom densities 2022-08-23 16:30:53 +01:00
Paul Romano
02f1815299 Add missing versionadded directives 2022-08-15 13:20:59 -05:00
Paul Romano
c5d47a0918
Merge pull request #2142 from shimwell/adding_specific_activity
added specific_activity to openmc.Material
2022-08-09 06:35:43 -05:00
Jonathan Shimwell
5d5bc53a15
Fixing the activity tests @eepeterson
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2022-08-08 20:46:57 +01:00
Ethan Peterson
3271c08d22
Apply suggestions from @paulromano code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-08 11:34:10 -04:00
Jonathan Shimwell
63b517aebc
updated tests to use units args by @eepeterson
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2022-08-08 14:52:35 +01:00
Jonathan Shimwell
a94fb43418 review comments from @paulromano 2022-08-08 14:00:25 +01:00
Ethan Peterson
39eaf9d887
Apply suggestions from code review
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2022-08-04 16:50:18 -04:00
Jonathan Shimwell
c036403c98
simpler if else statement for normalization
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2022-08-04 14:55:45 +01:00
Jonathan Shimwell
c900e4784e
Corrections to activity calcs
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2022-08-04 07:55:35 +01:00
Olek
15f66ed50a
Minor styling fix in Material.py
change `E` to `e` for scientific notation.
2022-08-03 17:46:26 -05:00
shimwell
98c707ea07 refactor activities to single method 2022-08-03 22:46:50 +01:00
Jonathan Shimwell
98c287b83a volume not needed when finding specific activity 2022-08-02 17:24:48 +01:00
Jonathan Shimwell
064426a05f added specific_activity 2022-08-02 13:17:33 +01:00
yardasol
0dd8f70939 add paulromano's 2nd round of suggestions 2022-08-01 09:22:10 -05:00
yardasol
effc35b8ee add_elements_or_nuclides -> add_components
- changed the assumptions the function makes about the 'components'
  parameter
- added 'percent_type' parameter
- passed changes to unit test
2022-07-29 18:28:08 -05:00
yardasol
6351b49ea2 add reference to add_elements_or_nuclides in the docstring for Material 2022-07-28 16:06:19 -05:00
yardasol
9317724a5b fix examples formatting 2022-07-28 16:03:42 -05:00
yardasol
623658870d merged add_nuclides and add_elements into one function 2022-07-28 11:00:48 -05:00
Olek
9ae0c6bd55
add add_elements
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2022-07-28 08:50:48 -05:00
yardasol
b3d0f20a00 added add_nuclides method 2022-07-27 13:15:10 -05:00
Jonathan Shimwell
5985adbccb
Merge branch 'develop' into adding_typehints_to_match_docs_material.py 2022-07-11 11:10:02 +01:00
Jonathan Shimwell
69cb024882
Adding type hint h5py.Group 2022-07-08 23:52:27 +01:00
Jonathan Shimwell
7e89003705
[skip ci] Apply suggestions from code review by @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-07-08 23:44:32 +01:00
Paul Romano
7723ea492c Add Material.get_nuclide_activity method and decay_constant function 2022-06-28 23:16:50 -05:00
Paul Romano
3c20b1e415 Fix use of get_nuclide_atom_densities in Material.activity property 2022-06-28 08:00:16 -05:00
Jonathan Shimwell
dbf69b966a
Merge branch 'develop' into adding_typehints_to_match_docs_material.py 2022-06-28 11:48:35 +01:00
Paul Romano
7fcc204726 Implement Material.get_nuclide_atoms method 2022-06-27 22:42:12 -05:00
Paul Romano
a4f98b489c Change values in dict returned by Material.get_nuclide_atom_densities 2022-06-27 22:36:36 -05:00