Commit graph

70 commits

Author SHA1 Message Date
Eden
e783e01471
Add chain parameter to Material.get_activity for half-life data (#3957)
Some checks failed
Tests and Coverage / filter-changes (push) Has been cancelled
dockerhub-publish-develop / main (push) Has been cancelled
dockerhub-publish-develop-dagmc-libmesh / main (push) Has been cancelled
dockerhub-publish-develop-dagmc / main (push) Has been cancelled
dockerhub-publish-develop-libmesh / main (push) Has been cancelled
Tests and Coverage / Python 3.13 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Has been cancelled
Tests and Coverage / Python 3.14 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Has been cancelled
Tests and Coverage / Python 3.14t (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=n, mpi=n, dagmc=n, libmesh=n, event=n (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=n, libmesh=n, event=n (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=n, mpi=y, dagmc=n, libmesh=n, event=n (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=n, libmesh=n, event=n (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=y, event= (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=, event=y (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=y, libmesh=, event= (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=, libmesh=y, event= (push) Has been cancelled
Tests and Coverage / coverage (push) Has been cancelled
Tests and Coverage / Check CI status (push) Has been cancelled
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-07-11 06:18:26 +00:00
Jonathan Shimwell
26b13083f3
Use gnds_name and zam from endf package (#3796) 2026-02-12 05:58:00 +00:00
Jonathan Shimwell
3f20a5e228
Use several data variables from endf package (#3787) 2026-02-10 06:41:04 -06:00
jiankai-yu
e9077b1372
Allow V0 in atomic_mass function (for ENDF/B-VII.0 data) (#3607) 2025-10-14 20:21:11 +00:00
GuySten
6636b7e32b
fix zam parsing (#3484) 2025-07-02 22:52:39 -05:00
GuySten
1c5aa6559b
fixing expansion of elemental Ta bug (#3443)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-06-18 15:10:03 +00:00
Jonathan Shimwell
1a520c9f4d
Adding material.get_element_atom_densities (#3103)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-10-04 01:37:51 +00:00
John Vincent Cauilan
4c0e08bae8
Replace all deprecated Python typing imports and syntax with updated forms (#3085)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-07-18 17:40:42 +00:00
Jonathan Shimwell
e8f68a0159
adding resulting nuclide to cross section plot legend (#2851)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-02-17 18:21:52 +00:00
Jonathan Shimwell
ee7b95245a
Static errors continuation (#2557)
Co-authored-by: Christina Cai <chrsitinacai48933@gmail.com>
Co-authored-by: christinacai123 <63215816+christinacai123@users.noreply.github.com>
2023-06-16 22:34:02 -05:00
Travis J. Labossiere-Hickman
7ca82b59aa Update the 2016 references to 2020 2023-04-12 12:22:45 -06:00
Paul Romano
ed02703f4b
Merge pull request #2392 from joshmay1/nuclide_determinism
Order nuclides deterministically when adding from elements
2023-02-23 09:21:54 -06:00
josh
5556b0cedc order nuclides by increasing mass number 2023-02-22 18:24:50 +00:00
Paul Romano
ecfa94e0ff Rename gnd_name to gnds_name. Change GND to GNDS in comments 2022-12-23 00:06:50 -06:00
Jonathan Shimwell
235195b125
Changed comment to reference 2020 atomic data version.
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-11-02 12:20:50 +00:00
Jonathan Shimwell
9ff159a4db updated to new AME format 2022-10-26 21:08:12 +01:00
Jonathan Shimwell
6131136bd1 swapped from 2016 to 2020 amdc data 2022-10-26 18:33:26 +01:00
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