Commit graph

85 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
932f36f411
Add recognized thermal scattering names for JEFF 4.0 and JENDL 5 (#3693) 2026-01-02 12:31:46 +02:00
Jose Ignacio Marquez Damian
e9ddf885e7
Correct normalization of thermal elastic in non standard ENDF-6 files (#3234)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-02-12 00:12:52 +00:00
Paul Romano
9170bf34ad
Update recognized thermal scattering materials for ENDF/B-VIII.1 (#3267) 2025-01-20 14:51:13 +01:00
Patrick Shriwise
0b686e365e
Correction for histogram interpolation of Tabular distributions (#2981)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-05-25 14:11:21 -05: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
Hunter Belanger
7505f61b22
Warn users about bad equiprobable angles in S(a,b) (#2675)
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-06 10:11:24 -04: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
Hunter Belanger
6a0d504303 Fix wording of comments 2022-11-05 13:05:47 +01:00
Hunter Belanger
6cb7a178e8 Fix spelling error. 2022-11-03 19:09:28 +01:00
Hunter Belanger
fd516c1c4c Doctors the incoherent inelastic TSL data when in continuous format. 2022-11-03 18:55:06 +01:00
Jose Ignacio Marquez Damian
607be496bc
Fix elastic distribution
Elastic distributions were created but not used
2022-09-22 14:58:52 -03:00
Paul Romano
0f03710e36 Fix hdf5 write/read for coherent and mixed elastic 2022-07-22 07:49:01 -05:00
Paul Romano
70c16d4b04 Implement mixed coherent/incoheret thermal elastic 2022-07-22 07:49:00 -05:00
Paul Romano
80c73c8e4d Make sure ThermalScattering.from_njoy works with table_name=... 2022-01-12 12:02:45 -06:00
Paul Romano
6fd8971eb7 Update recognized thermal scattering materials for ENDF/B-VIII.1 2021-08-30 22:41:44 -05:00
Sterling Harper
327ace77a5
Merge pull request #1638 from paulromano/jeff33-updates
Small updates to deal with JEFF 3.3 data
2020-08-22 18:54:23 -04:00
Paul Romano
6d90853d0b Add function for getting naturally-occurring isotopes 2020-08-14 15:05:01 -05:00
Paul Romano
404b1aa688 Update recognized thermal scattering names for JEFF 3.3 2020-08-12 09:39:40 -05:00
Paul Romano
a54cb56325 Changes in data/photon.py from PullRequest Inc. review 2020-04-15 15:06:48 -05:00
Paul Romano
6ab702400f Make sure output_dir gets set for ThermalScattering.from_njoy 2020-03-26 07:07:00 -05:00
Paul Romano
829f12b1b5 Move thermal scattering MAT number bug fixes into a dedicated function 2019-10-03 11:49:56 -05:00
Paul Romano
60f17ea466 Make sure from_ace classmethods get correct type of ACE table 2019-09-25 12:36:47 -05:00
Paul Romano
a47dfedcc2 Allow from_njoy calls to use ace/xsdir keyword arguments 2019-07-10 21:46:15 -05:00
Paul Romano
97ea3287c2 Only replace incoherent elastic in ThermalScattering.from_njoy with ENDF data 2019-06-25 09:47:26 -05:00
Paul Romano
adce57093d Add ability to use ENDF incoherent elastic data, update unit tests 2019-06-25 07:31:53 -05:00
Paul Romano
c8bf27af42 Add more thermal scattering unit tests and clean up some HDF5-related methods 2019-06-25 07:31:53 -05:00
Paul Romano
c48d5f07c4 Change how incoherent elastic data is written to HDF5 2019-06-25 07:31:53 -05:00
Paul Romano
c851030511 Refactor ThermalScattering::calculate_xs and add energy_max to class 2019-06-25 07:31:53 -05:00
Paul Romano
fd1f01a911 Move thermal scattering reaction data into ThermalData::Reaction type 2019-06-25 07:31:53 -05:00
Paul Romano
3e4fe61673 Start adding thermal angle-energy classes on C++ side 2019-06-25 07:31:53 -05:00
Paul Romano
c65366d7a0 Add IncoherentInelasticAEContinuous class stub 2019-06-25 07:31:53 -05:00
Paul Romano
8ea8206193 Move thermal angle-energy distributions into separate file 2019-06-25 07:31:53 -05:00
Paul Romano
51c8c2e0bc Refactor classes in openmc.data.ThermalScattering 2019-06-25 07:31:53 -05:00
Paul Romano
3e5741e1bb Fix CoherentElastic.__call__ 2019-06-25 07:31:53 -05:00
Paul Romano
fbacfa0e5c Add a from_endf method to ThermalScattering that returns a dict 2019-06-25 07:31:53 -05:00
liangjg
0f248381d1 updated photon data test to check cross sections and data by from_hdf5() 2019-03-27 13:24:00 -07:00
liangjg
ea71b9e377 replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
Paul Romano
08fd6b9cb1 Enable from_njoy methods to use evaluation from ENDF tape containing multiple
materials
2019-03-11 13:03:23 -05:00
Paul Romano
cf65d9ed2e Add thermal scattering names to match JEFF 3.3 data 2019-02-15 15:09:05 -06:00
Paul Romano
05e66155a2 Support pathlib in openmc.data 2018-11-06 09:01:37 -06:00
amandalund
11516a8e5c Merge branch 'develop' into photon-new 2018-07-02 14:57:39 -05:00
Paul Romano
ca0f415de4 Update recognized thermal scattering names with Lib80x names 2018-06-27 07:26:12 -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
1ccf6c3e5e Use tempfile.TemporaryDirectory() 2018-02-05 23:14:30 -05:00
Paul Romano
4d3da2e5b1 Use itertools.chain in get_thermal_name 2018-01-11 06:22:07 -06:00
Paul Romano
9f7e5e85e7 Improve guessing in openmc.data.get_thermal_name 2018-01-09 06:22:55 -06:00