Commit graph

65 commits

Author SHA1 Message Date
Paul Romano
1914e3eefa
Support endf.Material in from_endf methods (#3932) 2026-05-29 21:53:45 -05:00
Paul Romano
139907c955
Implement tally filter for filtering by reaction (#3809) 2026-02-21 10:17:12 -06:00
Jonathan Shimwell
be4396c12b
adding non elastic MT number (#3285)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-02-14 16:39:09 +00:00
Jonathan Shimwell
5d2b352025
f strings instead of .format for string editing (#2987) 2024-04-29 16:45:37 -05:00
Paul Romano
9fee6534b6
Prepare for NumPy 2.0 (#2845) 2024-03-26 12:00:06 -04:00
Jonathan Shimwell
9b7b33c7fa
Ruff comments on code (#2696)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-26 03:37:19 +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
Paul Romano
ecfa94e0ff Rename gnd_name to gnds_name. Change GND to GNDS in comments 2022-12-23 00:06:50 -06:00
Joffrey Dorville
fc3d94b781 Apply @paulromano suggestions 2022-08-04 11:38:04 -06:00
Joffrey Dorville
cbe9cc8c29 Kalbach-Mann slope calculation for ENDF files when the projectile is a neutron 2022-04-02 00:30:27 -06:00
Paul Romano
ccf5799f0f Read correct discrete photon energy in _get_photon_products_endf 2020-12-08 13:53:35 -06:00
Adam Nelson
d2c00b4f1b Added tests and fixed code accordingly 2020-10-22 14:13:32 -05:00
Jonathan Shimwell
975fb850d6
rename varible as suggested in review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2020-10-19 13:33:02 +01:00
Jonathan Shimwell
1c01fe751d added helpful dict with reaction names as keys 2020-10-08 17:08:24 +01:00
Paul Romano
c3368d2c11 Combined secondary particle data into _REACTIONS in chain.py 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
c6c4f3a091 Allow multiple distributions in MF=5,MT=455 when only one group appears in MF=1 2020-07-08 15:40:25 -05:00
Paul Romano
bea3e07fea Changes in data/reaction.py from PullRequest Inc. review 2020-04-15 15:06:48 -05:00
Paul Romano
4943ae9307 Alphabetize import ordering (and use relative imports in a few places) 2020-04-06 15:16:09 -05:00
Paul Romano
e34a71b448 Remove unused imports across entire Python API 2020-03-31 18:11:31 -05:00
Paul Romano
d0d1b1db12 Make sure isotropic angular distribution gets created from ACE files 2020-01-14 07:45:09 -06:00
Paul Romano
d84c379007 Fix up heating tally scores 2019-09-13 09:31:08 -05:00
Andrew Johnson
a0bac56ebd
Add fission-heating and non-fission-heating to reactions
MT318 and MT999 for fission heating and non-fission heating
have been added to the reactions supported in
openmc/data/reaction.py and src/reaction.cpp

Changed internal language from fission-less heating to
non-fission heating
2019-09-04 14:29:24 -05:00
Paul Romano
7a1afc5869 Store 0-based threshold indices in HDF5 files 2019-06-25 07:31:53 -05:00
liangjg
ea71b9e377 replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
Paul Romano
a48d590158 Store heating, gas production, and damage energy as redundant reactions 2019-03-10 14:42:13 -05:00
Paul Romano
dbe2294c04 Support from_hdf5 for older format neutron files without redundant 2018-10-17 20:14:09 -05:00
amandalund
3ea5d09e12 Don't assign MT=18 photon production to partial fission MTs 2018-09-13 16:14:13 -05:00
Paul Romano
dfd7bb9437 Rename summed -> redundant to make ENDF language 2018-09-13 08:06:13 -05:00
amandalund
6db62984d7 Clean up 2018-08-30 11:39:12 -05:00
amandalund
bad7851822 Account for photon production of summed reactions 2018-08-23 16:29:40 -05:00
Paul Romano
460452d4f7 Merge branch 'develop' into photon-alund 2018-03-11 13:10:00 -05:00
Paul Romano
d3d6dc87dc Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00
Paul Romano
c428cee667 Remove __future__ and six imports 2018-02-05 23:14:30 -05:00
Paul Romano
7d3ce61717 Ability to generate incident photon library with photoatomic, atomic relaxation,
and Compton profile data.
2017-06-29 09:59:08 -05:00
Paul Romano
83e1df4615 Ability to read products/yields from files 9 and 10 2017-05-30 08:29:36 -05:00
Paul Romano
6615857def Recognize LCT=4 for reference frame convention 2016-12-14 10:04:01 -06:00
Adam Nelson
2a594cc704 Added from_hdf5 for MGXSLibrary class and some miscellaneous fixes' 2016-11-29 18:46:09 -05:00
Paul Romano
e5ecfb18b9 Add (n,2n) level reactions to REACTION_NAME 2016-11-18 11:31:30 -06:00
Paul Romano
6da9f16d29 Convert ACE data from MeV to eV 2016-10-31 14:46:47 -05:00
Paul Romano
7e2d171803 Merge branch 'develop' into scopatz-six 2016-10-13 06:09:10 -05:00
Paul Romano
965a1acf60 Make sure MF=6 distributions get applied to fission products correctly 2016-10-12 07:45:16 -05:00
Paul Romano
5a126d086e Use six.string_types instead of basestring 2016-10-06 21:55:12 -05:00
Paul Romano
e2ff3a8357 Add error message when number of delayed fission spectra doesn't match number of
precursor groups.
2016-10-06 16:56:36 -05:00
Paul Romano
cbd2637efc Handle energy-dependent delayed neutron group probabilities in ENDF files. 2016-10-05 22:22:57 -05:00
Paul Romano
5555cfd1aa Respond to @smharper comments on #721 2016-09-30 14:44:44 -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
Sam Shaner
b894ad6ff3 moved decay rate units conversion to reaction.py 2016-09-15 16:15:34 -04:00
Paul Romano
68625ca314 Improve storage of temperature-dependent cross sections.
- Got rid of XS class
- Renamed Reaction.T_data to Reaction.xs
- Got rid of Reaction.add_temperature()
- Simplified IncidentNeutron.add_temperature_from_ace()
2016-08-25 20:51:30 -05:00
Adam Nelson
0351ed96f0 resolving first round of @paulromano comments 2016-08-24 19:57:16 -04:00