Commit graph

145 commits

Author SHA1 Message Date
Paul Romano
e1c47437bb Avoid several Python warnings 2021-04-26 14:45:37 -05:00
Paul Romano
cb22fe7c5d Fix documentation for Maxwell distribution pdf 2020-12-08 13:53:35 -06:00
Paul Romano
5547ecf88f Add versionadded directive for new arguments/functions in 0.12 2020-04-10 21:52:43 -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
1fa17f69e5 Changes in stats/univariate.py from PullRequest Inc. review 2020-04-01 14:13:05 -05:00
Paul Romano
1091c59457 Changes in stats/multivariate.py from PullRequest Inc. review 2020-04-01 14:13:05 -05:00
Paul Romano
d5b54e8cb5 Consistent use of ABC instead of ABCMeta where possible 2020-04-01 14:13:05 -05:00
Paul Romano
e34a71b448 Remove unused imports across entire Python API 2020-03-31 18:11:31 -05:00
Ethan Peterson
ded28ae558 fixing normal distribution 2020-01-25 17:10:55 -05:00
Ethan Peterson
96c7427eaf Adding CylindricalIndependent source type
ammended docstrings to mention local reference frame
2020-01-06 19:47:10 -05:00
Ethan Peterson
15c7148331 Adding SphericalIndependent source type
Applied suggestions from code review

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-11-11 10:50:38 -05:00
amandalund
2f09b7ca85 Fixed some univariate/multivariate from_xml_element issues and updated unit tests 2019-05-22 19:26:15 -06:00
amandalund
489a03c648 Get value from either attribute or element when reading settings from XML 2019-04-25 20:07:53 -05:00
amandalund
8f48ecf7de Add method for generating settings from an XML file 2019-04-18 08:22:40 -05:00
Paul Romano
ae4b0106dc Don't create Legendre polynomial object unless actually needed 2019-04-03 15:19:54 -05:00
Andrew Davis
9d35b2beb0 Last review comment 2019-01-07 07:48:31 +00:00
Andrew Davis
3ac6c6be63 Further review comments and errors fixed 2018-12-18 16:33:51 +00:00
Andrew Davis
a13d80e2bd Missing one review comment, and followed style for generic normal distribution from uniform distribuion 2018-12-13 15:37:47 +00:00
Andrew Davis
7a04968845 Addressed P. Romano review comments 2018-12-13 15:10:00 +00:00
Andrew Davis
9946db547c First commit of Muir/Gaussian sampling 2018-11-30 09:03:54 +00:00
Paul Romano
d3d6dc87dc Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00
Paul Romano
deab4b3d33 Use empty-argument form of super() 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
4180d632a4 Add tests for univariate probability distributions 2018-02-05 07:35:18 -06:00
Paul Romano
d938fa0176 Fix bugs discovered during CNL workshop 2017-03-19 21:41:54 -05:00
Paul Romano
1110c03c74 Fix use of energy in tests 2016-10-31 14:46:47 -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
Adam Nelson
e79651c600 Forgot one in stats, all good 2016-08-19 06:59:25 -04:00
Adam Nelson
f2fc06d960 Replaced prior __eq__ classes with the equality mixin 2016-08-17 05:15:57 -04:00
Adam Nelson
86a37912c1 Merge remote-tracking branch 'upstream/develop' into eq 2016-08-11 19:30:03 -04:00
Adam Nelson
e8ebc74b4f added __eq__ to the nuclear data classes and also enabled openmc.data.ThermalScattering.from_hdf5 to use either a group or filename like Neutron can. 2016-08-11 19:11:10 -04:00
Paul Romano
66d772da79 Refactor settings to use more CheckedLists. Rename all to_xml methods
to_xml_element
2016-08-01 10:37:00 -05:00
Paul Romano
68e5a093aa Added full openmc.data package and hooks in code 2016-07-14 15:19:48 -05:00
Paul Romano
c7a0b716d2 General cleanup -- both bugs and style issues -- based on running pylint 2016-07-02 11:04:25 +07:00
Paul Romano
395cfb092d Remove _isinstance and optimize check_type for ndarrays 2016-06-05 16:33:12 -05:00
Paul Romano
17c96c497c Add xyz default for openmc.stats.Point constructor 2016-05-10 11:25:53 -05:00
Paul Romano
14dc134869 Complete overhaul of Python API documentation 2016-04-14 07:22:31 -05:00
Paul Romano
d578d19d1f Add documentation for openmc.source and openmc.stats 2016-01-15 07:09:40 -06:00
Paul Romano
13d91746a0 Change SpatialIndependent to CartesianIndependent 2016-01-15 06:38:30 -06:00
Paul Romano
148e01eec0 Address more comments on pull request #556. 2016-01-15 06:29:41 -06:00
Paul Romano
ea9fb637f6 Respond to @smharper comments on #556 2016-01-14 06:46:32 -06:00
Paul Romano
8f2169b37c Fix Python3-related problems 2016-01-13 13:50:34 -06:00
Paul Romano
d244913b4c Replace four source tests with a single comprehensive one. Also fix a few bugs. 2016-01-13 13:21:12 -06:00
Paul Romano
db9ac7ba2f SettingsFile now uses source property based off openmc.source.Source. 2016-01-13 09:39:45 -06:00