Commit graph

659 commits

Author SHA1 Message Date
Adam Nelson
d4f4166ba7 resolved most of the comments from @samuelshaner 2016-11-11 20:37:03 -05:00
Sam Shaner
b7eb5a6171 Merge remote-tracking branch 'upstream/develop' into molar-mass 2016-11-10 15:42:47 -05:00
Sam Shaner
8394970acb addressed PR comments 2016-11-10 15:42:22 -05:00
Sam Shaner
e375620e78 fixed typo in data.py 2016-11-09 23:02:22 -05:00
Sam Shaner
2208800981 modified data.py to set the atomic masses for all zero isotopes 2016-11-09 23:00:08 -05:00
Sam Shaner
80bf6c7528 add get_molar_mass() method to material and fixed two other issues 2016-11-09 22:20:29 -05:00
Adam Nelson
93597752f2 Resolved @paulromano comments 2016-11-09 18:19:13 -05:00
Adam Nelson
ac8909fa29 minor comment change 2016-11-08 20:15:19 -05:00
Adam Nelson
deb4de90a2 Whoops, missed one 2016-11-08 18:52:39 -05:00
Adam Nelson
cdae8f70f7 resolved @paulromano comments 2016-11-08 18:45:17 -05:00
Adam Nelson
fb512fb1ef Added DataLibrary from_xml function 2016-11-07 19:01:35 -05:00
Adam Nelson
11040fb5f9 Added piecewise and combination functions 2016-11-07 18:59:50 -05:00
Paul Romano
89a7857c1a Add version information to nuclear data format. 2016-10-31 15:37:49 -05:00
Paul Romano
6493b1a2ff Fix bug in SUM_RULES 2016-10-31 14:46:47 -05:00
Paul Romano
6da9f16d29 Convert ACE data from MeV to eV 2016-10-31 14:46:47 -05:00
Paul Romano
5ab6160c2a Move fission Q file to openmc/data and make sure it's accessible from
openmc-get-nndc-data
2016-10-13 07:09:50 -05:00
Paul Romano
7e2d171803 Merge branch 'develop' into scopatz-six 2016-10-13 06:09:10 -05:00
Sterling Harper
83dcfb40f8 Fix mixed-unit error in fission Q values 2016-10-12 18:15:03 -04: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
37d230e65b Fix typo in units description 2016-10-11 21:09:50 -05:00
Paul Romano
6976960d17 Disallow export_to_hdf5() when data came from ENDF 2016-10-11 14:28:58 -05:00
Paul Romano
36cf8934fd Fix units for fission energy release in ENDF files 2016-10-06 22:17:52 -05:00
Paul Romano
5a126d086e Use six.string_types instead of basestring 2016-10-06 21:55:12 -05:00
Paul Romano
de009f4c34 Use six.add_metaclass to be compatible with Python 2 and 3 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
348685057a Handle missing MOD values in JEFF 3.2 gracefully 2016-10-06 16:36:55 -05:00
Paul Romano
9079ae7b74 Ignore obsolete energy transformation matrix in MF=4. 2016-10-05 22:23:01 -05:00
Paul Romano
b3e351474c Handle Sher-Beck energy release data with polynomial nu. 2016-10-05 22:23:01 -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
a7d8a49e07 Describe skipC argument in get_cont_record 2016-10-04 23:08:34 -05:00
Paul Romano
5555cfd1aa Respond to @smharper comments on #721 2016-09-30 14:44:44 -05:00
Paul Romano
dfcb4bc935 Merge branch 'develop' into pyapi-data-endf 2016-09-28 06:28:50 -05:00
Paul Romano
fbcb15f8c5 Simplify usage of DataLibrary.register_file() 2016-09-23 06:26:33 -05:00
Paul Romano
f08550f5ed Handle reconstruction for multiple resolved ranges (Pu239 in ENDF/B-VII.1) 2016-09-21 14:32:08 -05:00
Paul Romano
eed74c9d26 Fix issue with losing precision in RM reconstruction when K and phi are small 2016-09-21 14:17:25 -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
3a021a2438 When adding temperature data, give warning instead of error if MT not present. 2016-09-20 11:35:29 -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
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
Sam Shaner
59a8e6e13b fixed unit conversion error in product.py 2016-09-15 14:05:24 -04:00
Sam Shaner
157f1fd484 added fix to IncidentNeutron.from_hdf5() for Python 2 2016-09-15 12:33:20 -04:00
Sam Shaner
3020800ba4 moved conversion of decay_rate units from tally.F90 to openmc/data/product.py 2016-09-15 10:43:45 -04:00
Paul Romano
22419b4696 Fix subtle string array bug. 2016-09-06 22:09:42 -05:00
Adam Nelson
bed0b4487e Fixed docstring and unused variable issues pointed out by @smharper 2016-09-06 19:16:05 -04:00
Adam Nelson
c4744ec638 Fixed He4 and H3 issue where temperatures were not being added. This was due to an issue where when the different temperatures were reading the absorption xs from ACE, it was being stored even if it was a 0. array. At the same time, the base h5 file was read by from_hdf5 which never had the derived absorption xs created for these nuclides 2016-09-02 17:12:43 -04: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
Paul Romano
19c8a1159d Make probability tables temperature-dependent 2016-08-25 20:51:30 -05: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