Commit graph

64 commits

Author SHA1 Message Date
Paul Romano
bc09d1ef55 adding back files to be reviewed 2019-10-28 11:55:45 -05:00
Paul Romano
ae28233110 deleting all files to prepare for review 2019-10-28 11:48:19 -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
Paul Romano
2e5bfecdaf Add tests for openmc.data.thermal 2018-01-09 06:22:55 -06:00
Sterling Harper
0460d9a538 Allow optional 'latest' libver for HDF5 xs data 2017-12-17 19:48:08 -05:00
Sterling Harper
f754357aea Use 'earliest' libver in h5py for backwards-compat 2017-12-16 19:56:34 -05:00
Paul Romano
2622489b3b Read photon cross sections at XML-read time, support particle type in source 2017-06-29 10:31:49 -05:00
Paul Romano
09ce720dc1 Add ThermalScattering.from_njoy 2017-04-28 06:42:26 -05:00
Paul Romano
7a1b11b932 Automatically add isotopes for S(a,b) tables 2017-01-09 11:21:42 -06:00
Paul Romano
852d7b3973 Fix number of bins for incoherent elastic angular distribution 2017-01-07 13:33:25 -06:00
Paul Romano
5edf1b3d27 Rework get_thermal_name a bit and update known thermal scattering materials 2017-01-07 13:33:25 -06:00
Paul Romano
89a7857c1a Add version information to nuclear data format. 2016-10-31 15:37:49 -05:00
Paul Romano
6da9f16d29 Convert ACE data from MeV to eV 2016-10-31 14:46:47 -05:00
Paul Romano
b6a866f7b7 Refactor ThermalScattering.add_temperature_from_ace() to use from_ace() 2016-09-20 12:01:50 -05:00
Paul Romano
14e90db9c6 Add MCNP data conversion scripts. Improve JEFF script. Update docs. 2016-09-20 11:34:52 -05:00
Paul Romano
22419b4696 Fix subtle string array bug. 2016-09-06 22:09:42 -05:00
Paul Romano
a95266ab22 Major refactor to include cross sections at multiple temperatures within the
Nuclide and SAlphaData derived types.
2016-08-31 10:13:38 -05:00
Adam Nelson
0351ed96f0 resolving first round of @paulromano comments 2016-08-24 19:57:16 -04:00
Adam Nelson
07d62fc9ae Fixed a bug in reading kTs from HDF5 library on the python side 2016-08-24 05:26:42 -04:00
Adam Nelson
8fbd41eaf4 Seem to be able to read the new hdf5 files and run at least an example problem (!!!!) 2016-08-21 13:43:07 -04:00
Adam Nelson
63b3c6dbd0 Updated openmc-ace-to-hdf5 to generate the libraries for us and fixed bugs as found when developing that script. Also updated the Format description in nuclear_data.rst 2016-08-21 11:37:39 -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
Adam Nelson
6403216911 Renamed Equality to EqualityMixin 2016-08-19 06:58:17 -04:00
Adam Nelson
9a3cec1dfb Merge remote-tracking branch 'upstream/develop' into eq 2016-08-19 06:52:31 -04:00