Commit graph

115 commits

Author SHA1 Message Date
Paul Romano
01790598d6
Optimize depletion chain loading and material activity calculations (#4025)
Some checks are pending
Tests and Coverage / filter-changes (push) Waiting to run
Tests and Coverage / Python 3.13 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.14 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.14t (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=n, mpi=n, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=n, mpi=y, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=y, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=, event=y (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=y, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=, libmesh=y, event= (push) Blocked by required conditions
Tests and Coverage / coverage (push) Blocked by required conditions
Tests and Coverage / Check CI status (push) Blocked by required conditions
dockerhub-publish-develop / main (push) Waiting to run
dockerhub-publish-develop-dagmc-libmesh / main (push) Waiting to run
dockerhub-publish-develop-dagmc / main (push) Waiting to run
dockerhub-publish-develop-libmesh / main (push) Waiting to run
2026-07-24 11:59:55 +03:00
Paul Romano
1914e3eefa
Support endf.Material in from_endf methods (#3932) 2026-05-29 21:53:45 -05:00
Ethan Peterson
a1df5842e0
Remove self loops from spontaneous fission decay mode (#3907)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-04-21 16:47:40 +00:00
Jonathan Shimwell
542f949fa0
Use local variable to avoid attribute lookup in form_rxn_matrix loop (#3884)
Co-authored-by: Perry <yrrepy@users.noreply.github.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-04-04 20:53:50 +00:00
Ethan Peterson
60d1dfba7f
Refactor form_matrix method on depletion chain class (#3892)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-04-03 21:27:39 +00:00
GuySten
823b4c96c9
Speed up depletion with transfer rates (#3839) 2026-03-02 06:53:20 -06:00
Paul Romano
9c91bddf04
Migrate to SciPy sparse arrays (#3613) 2026-01-02 13:43:25 +02:00
Paul Romano
5c63e0df21
Fix a few warnings, rename add_to_tallies_file (#3639) 2025-11-18 17:57:12 -06:00
Lorenzo Chierici
50bb0df191
depletion-thermochemistry: Redox control transfer rates (#2783)
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-11-12 16:45:48 -06:00
Robert Carlsen
ca4295748d
depletion: fix performance of chain matrix construction (#3567)
Co-authored-by: GuySten <62616591+GuySten@users.noreply.github.com>
2025-09-11 02:13:28 +00:00
GuySten
a11021cd07
Consistent XML parsing using functions from _xml module (#3517)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-08-08 17:47:55 +00:00
Paul Romano
eb74d497d2
Introduce openmc.lib.TemporarySession context manager (#3475) 2025-07-01 12:43:45 -05:00
Jonathan Shimwell
f81962c960
Allowing chain_file to be chain object to save reloading time (#3436)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-06-12 21:02:35 +00:00
Lorenzo Chierici
7382b5d1c8
External transfer rates source term (#3088)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-05-12 15:48:21 -05:00
Jonathan Shimwell
e360cb467e
added stable and unstable nuclides to the Chain object (#3338)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-03-06 16:39:05 +00:00
John Vincent Cauilan
346f751deb
Adjust decay data reader to better handle non-normalized branching ratios (#3080)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-08-13 21:51:30 +00:00
Jonathan Shimwell
5d2b352025
f strings instead of .format for string editing (#2987) 2024-04-29 16:45:37 -05:00
Paul Romano
ce7efa415e
Fix Chain.form_matrix to work with scipy 1.12 (#2922) 2024-03-23 15:29:09 -07: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
Ethan Peterson
8b2698f5c0
Change matrix format to CSC in depletion (#2764) 2023-11-28 07:34:02 -06:00
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev (#2740) 2023-10-31 16:55:19 -05:00
Lorenzo Chierici
1c82dfcc1c
Transfer rates multiple destination (#2626)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-13 12:15:44 -05:00
Jonathan Shimwell
457bea6f0b
replaced ordereddict with {} (#2641)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-08-19 12:15:11 +00:00
Olek
f200e446aa
Allow transfer rates with nuclides. (#2564)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: Lorenzo Chierici <l.chierici89@gmail.com>
2023-06-26 07:23:32 -05:00
Lorenzo Chierici
19282cb088
Remove misleading warn message from deplete.chain.py (#2544) 2023-06-04 17:10:47 -05:00
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -05:00
Lorenzo Chierici
43437e9410
TransferRates (old msr continuous capabilities) (#2358)
---------

Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Olek <45364492+yardasol@users.noreply.github.com>
Co-authored-by: yardasol <yardasol@grinnell.edu>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
2023-04-27 22:11:17 -05:00
Paul Romano
ecfa94e0ff Rename gnd_name to gnds_name. Change GND to GNDS in comments 2022-12-23 00:06:50 -06:00
Paul Romano
d6a4a3ecb9 Produce light particles from decay 2022-11-16 23:07:52 -06:00
Paul Romano
df9f7ec814 Make sure Chain.reduce preserves information in the .sources attribute 2022-10-27 08:51:32 -05:00
Paul Romano
1395b50d49 Store decay sources on openmc.deplete.Nuclide 2022-09-26 12:58:53 -05:00
Paul Romano
a074e0a5cf Use openmc.config['cross_sections'] instead of OPENMC_CROSS_SECTIONS 2022-09-07 16:46:10 -05:00
yardasol
773757246b Operator->CoupledOperator
- update references in docstrings and docpages
- minor adjustments to related docs in deplete module files
- retain backwards compatiblity by exporint Operator alias
2022-07-30 16:46:31 -05:00
Paul Romano
badaaacca4 Consistent use of cross sections / chain file in Operator class 2022-01-12 10:32:25 -06: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
abc9e9c7ad Add decay_energy property on Decay class and associated bug in chain.py 2020-10-05 15:39:20 -05:00
Paul Romano
13dadf9c24 Merge branch 'develop' into ccfe-spp-2 2020-09-10 06:34:37 -05:00
Paul Romano
45dc955be6 Ensure replace_missing replaces neutron with nothing 2020-08-18 22:02:40 -05:00
Paul Romano
d83b9568c9 Add two methods on Nuclide: add_decay_mode and add_reaction 2020-08-03 07:38:36 -05:00
Paul Romano
1d187b3a8a Add Chain.add_nuclide method 2020-08-03 07:38:36 -05:00
Paul Romano
3d35cd3f0f Add documentation of chain.REACTIONS module variable 2020-07-29 06:41:10 -05:00
Paul Romano
5b84c940f7 Add reactions argument in Chain.from_endf 2020-07-23 09:05:25 -05:00
Paul Romano
1703d2a3ca Replace missing reaction product in depletion chain generation 2020-07-23 09:05:25 -05:00
Paul Romano
c3368d2c11 Combined secondary particle data into _REACTIONS in chain.py 2020-07-23 09:05:25 -05:00
Paul Romano
2d6ea64dc3 Use tuples in _SECONDARY_PARTICLES 2020-07-23 09:05:25 -05:00
Paul Romano
f1abc414f6 Add all transmutation reactions to _REACTIONS in chain.py 2020-07-23 09:05:25 -05:00
Paul Romano
eb11015cd6 Add reactions with MT > 117 to _SECONDARY_PARTICLES 2020-07-23 09:05:25 -05:00
Paul Romano
63c13cddd6 Copy hidden _fpy attribute when reducing depletion chain 2020-06-23 22:18:10 -05:00
Paul Romano
3c25a2a4b3 Add note in Chain.from_endf docstring about missing FPY 2020-06-17 06:59:31 -05:00
Paul Romano
19aa88cfe2 Make sure actinides missing FPY data are assigned something else 2020-06-16 22:32:40 -05:00