Commit graph

53 commits

Author SHA1 Message Date
shimwell
c0982eb622 format to f strings 2022-08-27 00:12:25 +01:00
Paul Romano
7723ea492c Add Material.get_nuclide_activity method and decay_constant function 2022-06-28 23:16:50 -05:00
Jonathan Shimwell
344c2a4640 lower case nucs in half-life 2022-06-22 23:27:41 +01:00
Jonathan Shimwell
649f4a28f2
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-06-22 14:21:02 +02:00
Jonathan Shimwell
53b5cce209
Applying missed suggestions
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-06-22 08:01:07 +01:00
Jonathan Shimwell
7bbc778fd7
[skip ci] review suggestions from @paulromano 2022-06-21 23:27:44 +01:00
Jonathan Shimwell
e5e1daf23f
[skip ci] removed diagnostic prints 2022-06-09 15:02:10 +01:00
Jonathan Shimwell
1234e0b17c review suggestions from @PaulRomano 2022-06-09 14:59:28 +01:00
Jonathan Shimwell
e030b74836 add get_activity 2022-06-08 17:28:33 +01:00
Paul Romano
03244d755f Update physical constants to CODATA 2018 2021-05-03 09:43:09 -05:00
Paul Romano
28b37011b0 Add release notes for 0.12.1 and a bunch of versionadded tags 2021-03-17 07:33:57 -05:00
Paul Romano
6d90853d0b Add function for getting naturally-occurring isotopes 2020-08-14 15:05:01 -05:00
Paul Romano
78b03bba8a Moved _GND_NAME_RE with other global variables in data.py 2020-04-07 13:32:54 -05:00
Paul Romano
0859c149ae Changes in data/data.py from PullRequest Inc. review 2020-04-01 09:11:04 -05:00
Paul Romano
3fc25be950
Merge pull request #1503 from Mikolaj-A-Kowalski/develop
Enrichment of 2-Isotope Elements
2020-03-04 07:38:24 -06:00
Paul Cosgrove
abd8175a15 Changes to be consistent with PEP8 style 2020-02-28 12:36:57 +00:00
Paul Cosgrove
d9b2c4dccc Requested changes for PR
Modified data.py to align with OpenMC Python convention,
added more elegant check for element names
2020-02-27 12:44:58 +00:00
Paul Cosgrove
01fc85ed9a Allowed adding element by name
Added an ELEMENT_SYMBOL dictionary to data.py
with various spellings. Modified add_element to
include checks for element names as well as symbols
2020-02-22 16:14:31 +00:00
Mikolaj Adam Kowalski
8fc788d0b2 Change interface of Element.expand function
-> Adds new optional argument enrichment_target to Element.expand
-> expand uses old Uranium Enrichment method if enrichment is given
without enrichment target
-> Adds a comment to openmc.data to clarify that NATURAL_ABUNDANCE
contains atomic fractions
2020-02-02 17:46:58 +01:00
Sterling Harper
35c9f406b4 Address #1333 comment 2019-09-06 09:52:49 -04:00
liangjg
3122e14010 Updated atomic mass evaluation to AME 2016, close #1137 2019-02-13 21:41:22 +00: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
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
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
ab72510d20 Update physical constants to CODATA 2014 2017-02-14 07:13:20 -06:00
jingang
f7a18011c2 converted integer 1 to float 1.0 and added comments 2017-02-13 21:00:11 -05:00
liangjg
15e33862d1 Update isotopic natural abundances data IUPAC 2013 2017-02-11 21:22:37 -05:00
Will Boyd
7900ad925a Updated regex to cross reference nuclides with elements 2017-01-20 13:21:06 -05:00
Will Boyd
4100e97b00 Introduced new openmc.data.atomic_weight(...) method 2017-01-18 09:10:37 -05:00
Adam Nelson
b8d9fe461f Resolving @paulromano comments 2016-11-16 21:47:07 -05:00
Sam Shaner
8394970acb addressed PR comments 2016-11-10 15:42:22 -05:00
Sam Shaner
e375620e78 fixed typo in data.py 2016-11-09 23:02:22 -05:00
Sam Shaner
2208800981 modified data.py to set the atomic masses for all zero isotopes 2016-11-09 23:00:08 -05:00
Sam Shaner
80bf6c7528 add get_molar_mass() method to material and fixed two other issues 2016-11-09 22:20:29 -05:00
Paul Romano
6da9f16d29 Convert ACE data from MeV to eV 2016-10-31 14:46:47 -05:00
Paul Romano
cbcd3a7f57 Extend openmc.data to be able to import ENDF data and perform resonance
reconstruction.
2016-09-16 01:55:07 +02:00
Adam Nelson
0351ed96f0 resolving first round of @paulromano comments 2016-08-24 19:57:16 -04:00
Adam Nelson
3b65dde0fd Folded multiple temperatures in to each h5 data file; now im getting 50% less storage required of endf70. yay! Next I think I can get rid of some s(a,b) information, will investigate that and then on to revising openMC so it can read and use this data 2016-08-21 06:05:19 -04:00
Paul Romano
45fb021e89 Strip metastable info when getting atomic mass 2016-08-08 07:05:55 -05:00
Paul Romano
6bb147fe8f Add openmc.data.atomic_mass function, finally 2016-08-05 11:25:55 -05:00
Sterling Harper
31771d8e2e Expand on IncidentNeutron.from_hdf5 in notebook 2016-07-28 16:27:11 -05:00
Paul Romano
e2112b86ae Respond to @smharper comments on #684 2016-07-25 06:33:37 -05:00
Paul Romano
976349cb51 Calculate photon production yields properly for MF=13 data 2016-07-19 22:32:24 -05:00
Paul Romano
20a2499587 Make module-level variables in openmc.data.data uppercase 2016-07-19 22:16:24 -05:00