Commit graph

64 commits

Author SHA1 Message Date
GuySten
83a30f6860
Support arbitrary symmetry axis for CylindricalIndependent class (#3474)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-02-21 20:00:36 +00:00
Jack Fletcher
0486e433d2
Source biasing capabilities (#3460)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-01-12 09:51:12 -06:00
GuySten
fd964bc9b0
Enable specifying reference direction for azimuthal angle in PolarAzimuthal distribution (#3582)
Co-authored-by: shimwell <mail@jshimwell.com>
2025-11-03 09:42:59 +02:00
GuySten
a11021cd07
Consistent XML parsing using functions from _xml module (#3517)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-08-08 17:47:55 +00:00
Paul Wilson
58400cbf10
Add PointCloud spatial distribution (#3161)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-11-13 15:39:41 -06:00
John Vincent Cauilan
4c0e08bae8
Replace all deprecated Python typing imports and syntax with updated forms (#3085)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-07-18 17:40:42 +00:00
Paul Romano
55b52b7ef3
Release of version 0.15.0 (#3050) 2024-06-22 01:28:56 +00:00
Erik B Knudsen
1702b4554b
Restricted file source (#2916)
Co-authored-by: church89 <l.chierici89@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-05-15 15:49:04 -05:00
Paul Romano
3efd24289d
Fix creation of meshes when from loading settings from XML (#2805) 2023-12-13 08:41:51 -06:00
Patrick Shriwise
e0d03812b9
Mesh Source Class (#2759)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-12-02 17:35:23 +00:00
Jonathan Shimwell
557880aefc
Allowing CylindricalMesh and SphericalMesh to be fully made via constructor+ type hints (#2619)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-08-05 16:16:42 -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
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -05:00
Patrick Shriwise
fc67b38ba4 Adding roundtrip test for mesh sampling 2023-02-03 20:11:35 -06:00
Patrick Shriwise
e873db9a07
Apply suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-01-12 23:13:09 -06:00
Patrick Shriwise
219a4b04da Addressing comments from @NybergWISC
Co-authored-by: Matthew Nyberg <mnyberg@wisc.edu>
2023-01-03 10:35:44 -06:00
Patrick Shriwise
580096d423 Removing MESHES import 2022-12-29 10:39:41 -06:00
Patrick Shriwise
43549cf1f1 A couple small changes from original PR comments 2022-12-29 09:23:14 -06:00
Patrick Shriwise
0ffe0b39c1 Adding docstrings to MeshSpatial Python class 2022-12-29 09:23:14 -06:00
NybergWISC
115be68953 Small refactor of distribution_spatial.cpp and change default of volume_normalized to True 2022-12-29 09:23:14 -06:00
NybergWISC
bd60956d20 Second round of comments. volume method is now implemented from Mesh instead of UnstructuredMesh 2022-12-29 09:23:14 -06:00
NybergWISC
7c40badfbc Address comments on initial PR, all changed other than name of class and the use of python API to combine track outputs 2022-12-29 09:23:14 -06:00
NybergWISC
9f6d536959 Commit including most of the sampling work in distribution_spatial.cpp and testing 2022-12-29 09:23:12 -06:00
Paul Romano
eb1dc015e5 Fix reading of reference_uvw during from_xml 2022-08-31 12:37:20 -05:00
Paul Romano
d31b083685 Address @yardasol review comments 2022-08-16 16:19:55 -05:00
Christopher Fichtlscherer
44d591ff48
Update openmc/stats/multivariate.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-05-16 14:39:28 +02:00
Christopher Fichtlscherer
8b62ee3635
Update openmc/stats/multivariate.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-05-16 14:38:46 +02:00
cpf
6806f73bd4 missing import 2022-05-14 09:12:07 +02:00
Christopher Fichtlscherer
7bcad5e7b6
Update openmc/stats/multivariate.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-05-14 09:09:21 +02:00
Christopher Fichtlscherer
0def5bf655
Update openmc/stats/multivariate.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-05-14 09:08:54 +02:00
cpf
0ba342c884 Define function spherical_uniform instead of class SphericalIndependent 2022-05-13 21:14:44 +02:00
cpf
a8f1d47662 added a spherical source as a helping class 2022-05-10 15:40:37 +02:00
Christopher Fichtlscherer
31ebeb1327
Update openmc/stats/multivariate.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-05-10 09:17:40 +02:00
Christopher Fichtlscherer
06d85de2c3
Update openmc/stats/multivariate.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-05-10 09:17:34 +02:00
Christopher Fichtlscherer
6ba42d2cc4
Update openmc/stats/multivariate.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-05-10 09:17:23 +02:00
cpf
31648dd1a2 some more theta -> cos_theta 2022-05-09 20:23:18 +02:00
cpf
021215a2b9 included paulromanos suggestions 2022-05-09 20:03:28 +02:00
Paul Romano
9df6820da1 Implement from_xml_element methods for cylindrical/spherical mesh. Closes #1951 2022-01-20 10:33:53 -06:00
Paul Romano
e1c47437bb Avoid several Python warnings 2021-04-26 14:45:37 -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
4943ae9307 Alphabetize import ordering (and use relative imports in a few places) 2020-04-06 15:16:09 -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
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
d3d6dc87dc Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00