Commit graph

659 commits

Author SHA1 Message Date
Avery
1812e881d3 Fixed typo in data/photon.py 2020-05-04 16:27:04 -04:00
Paul Romano
d56c784806 Changes in data/endf.c from PullRequest Inc. review 2020-04-15 15:06:48 -05:00
Paul Romano
72f2855553 Changes in data/grid.py from PullRequest Inc. review 2020-04-15 15:06:48 -05:00
Paul Romano
75f84c82f2 Changes in data/multipole.py from PullRequest Inc. review 2020-04-15 15:06:48 -05:00
Paul Romano
dcee71e9ee Changes in data/neutron.py from PullRequest Inc. review 2020-04-15 15:06:48 -05:00
Paul Romano
a54cb56325 Changes in data/photon.py from PullRequest Inc. review 2020-04-15 15:06:48 -05:00
Paul Romano
bea3e07fea Changes in data/reaction.py from PullRequest Inc. review 2020-04-15 15:06:48 -05:00
Paul Romano
14d22b9fe3 Changes in data/products.py from PullRequest inc. review 2020-04-15 15:06:48 -05:00
Paul Romano
5547ecf88f Add versionadded directive for new arguments/functions in 0.12 2020-04-10 21:52:43 -05:00
Paul Romano
78b03bba8a Moved _GND_NAME_RE with other global variables in data.py 2020-04-07 13:32:54 -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
d5b54e8cb5 Consistent use of ABC instead of ABCMeta where possible 2020-04-01 14:13:05 -05:00
Paul Romano
0859c149ae Changes in data/data.py from PullRequest Inc. review 2020-04-01 09:11:04 -05:00
Paul Romano
578f1eb1a8 Changes in data/correlated.py from PullRequest Inc. review 2020-04-01 09:10:44 -05:00
Paul Romano
7fa390edeb Changes in data/angle_energy.py from PullRequest Inc. review 2020-04-01 09:10:28 -05:00
Paul Romano
b116b8f3ab Changes in data/ace.py from PullRequest Inc. review 2020-04-01 08:57:38 -05:00
Paul Romano
e34a71b448 Remove unused imports across entire Python API 2020-03-31 18:11:31 -05:00
Paul Romano
5f6bf21aba Changes in data/endf.py from PullRequest Inc. review 2020-03-31 17:50:27 -05:00
Paul Romano
1b177634f4 Changes in data/decay.py from PullRequest Inc. review 2020-03-31 17:41:12 -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
cf6b67c05d Remove explicit inheritance from object for Python classes 2020-03-23 12:12:31 -05:00
Paul Romano
c109a205e4 Fix output directory for xsdir in make_ace_thermal 2020-03-20 06:51:50 -05:00
Paul Romano
3a79748ec3 Fix for Python 3.5 2020-03-17 20:40:54 -05:00
Paul Romano
5b7929b6ef Ensure NJOY output for multiple temperatures goes to specified output dir 2020-03-17 10:40:53 -05:00
Paul Romano
3fc25be950
Merge pull request #1503 from Mikolaj-A-Kowalski/develop
Enrichment of 2-Isotope Elements
2020-03-04 07:38:24 -06:00
ChasingNeutrons
30c5167fb6
Merge pull request #4 from ChasingNeutrons/element_name
Changes to be consistent with PEP8 style
2020-02-28 12:33:26 +00:00
Paul Cosgrove
abd8175a15 Changes to be consistent with PEP8 style 2020-02-28 12:36:57 +00:00
ChasingNeutrons
a01e37b503
Merge pull request #3 from ChasingNeutrons/element_name
Element name
2020-02-27 12:49:31 +00:00
Paul Cosgrove
d9b2c4dccc Requested changes for PR
Modified data.py to align with OpenMC Python convention,
added more elegant check for element names
2020-02-27 12:44:58 +00:00
ChasingNeutrons
eba6a6e4c8
Merge pull request #2 from openmc-dev/develop
Update alongside openmc-dev
2020-02-26 13:28:49 +00:00
Mikolaj Adam Kowalski
c679f8e8e1 Merge branch 'develop' into cam_WP7_task3 2020-02-26 11:23:48 +00:00
Paul Cosgrove
01fc85ed9a Allowed adding element by name
Added an ELEMENT_SYMBOL dictionary to data.py
with various spellings. Modified add_element to
include checks for element names as well as symbols
2020-02-22 16:14:31 +00:00
Sam Powell-Gill
dd74b2f43f Fixed bug which prevents creating photon data with no atomic relax 2020-02-19 09:26:13 +00:00
Mikolaj Adam Kowalski
8fc788d0b2 Change interface of Element.expand function
-> Adds new optional argument enrichment_target to Element.expand
-> expand uses old Uranium Enrichment method if enrichment is given
without enrichment target
-> Adds a comment to openmc.data to clarify that NATURAL_ABUNDANCE
contains atomic fractions
2020-02-02 17:46:58 +01:00
Patrick Shriwise
c94e3d2705
Merge pull request #1466 from paulromano/pullrequestinc-part1
Address review from Pullrequest Inc. (Part 1)
2020-01-29 09:54:25 -06:00
Paul Romano
6587413bd1 Some PEP8 fixes in photon.py 2020-01-28 15:51:43 -06:00
Paul Romano
8c43907378 Remove AtomicRelaxation.energy_fluorescence method 2020-01-28 15:48:38 -06:00
Paul Romano
97a3ecfd0b Respond to @pshriwise comments on #1466 2020-01-28 14:49:56 -06:00
Paul Romano
04308b7677 Rewrite of openmc-ace-to-hdf5, moving some functionality to ace.py 2020-01-27 09:46:50 -06:00
Paul Romano
840749070d Remove photon heating calculation from Python and use on C++ side 2020-01-21 17:18:39 -06:00
Paul Romano
d0d1b1db12 Make sure isotropic angular distribution gets created from ACE files 2020-01-14 07:45:09 -06:00
Ethan Peterson
2b1380519d Adding data_type kwarg to DataLibrary.get_by_material
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>

Update tests/unit_tests/test_data_misc.py

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-01-03 10:16:50 -05:00
Paul Romano
4013675cde
Merge pull request #1424 from PullRequestOpen/pullrequest-cosmetic-fixes
PullRequest Cosmetic Fixes [2019-12-05]
2019-12-09 17:07:49 -06:00
PullRequestOpen
181158a21a
Update openmc/data/grid.py
`Returns` -> `Return`

Co-Authored-By: Sterling Harper <sterlingmharper@gmail.com>
2019-12-06 10:22:25 -06:00
Paul Romano
b79d97d6dd Fix a number of problems related to photoatomic data
- OpenMC segfaulted when subshell cross sections were missing in HDF5 files
- IncidentPhoton.from_ace shouldn't work with mcplib84 and before
- Properly set threshold for subshell cross sections from eprdata12/14
- Make sure IncidentPhoton.from_endf works with only photoatomic data
2019-12-06 06:10:49 -06:00
PullRequestOpen
6d0aa86cef Cosmetic fixes from PullRequest [2019-12-05] 2019-12-05 22:22:43 -06:00
amandalund
aaa741ed7f Remove blank lines 2019-11-13 20:09:35 -06:00
amandalund
4e3d12cb1e Clean up Unresolved.from_endf() 2019-11-13 20:06:08 -06:00
amandalund
d3eb2086e2 Store energies for URR case C 2019-11-13 13:03:30 -06:00
amandalund
ee3138dc52 Add DOF, channel radius, scattering radius to URR 2019-11-13 13:03:30 -06:00