Commit graph

88 commits

Author SHA1 Message Date
Jack Fletcher
368ea069ca
Local adjoint source for Random Ray (#3717) 2026-04-28 16:10:03 -05:00
Paul Romano
b41e22f68b
Refactor ParticleType to use PDG Monte Carlo numbering scheme (#3756)
Co-authored-by: GuySten <62616591+GuySten@users.noreply.github.com>
Co-authored-by: Amanda Lund <alund1187@gmail.com>
2026-02-03 07:23:24 +00: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 Romano
eb74d497d2
Introduce openmc.lib.TemporarySession context manager (#3475) 2025-07-01 12:43:45 -05:00
Paul Romano
01fa8056d1
Introduce WeightWindowsList class that enables export to HDF5 (#3456) 2025-06-25 13:44:53 -05:00
Paul Romano
06a88526cf
Relax requirement on polar/azimuthal axis for wwinp conversion (#3307) 2025-02-19 07:48:39 -06:00
John Tramm
a8768b7845
FW-CADIS Weight Window Generation with Random Ray (#3273)
Co-authored-by: Olek <45364492+yardasol@users.noreply.github.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-27 22:54:32 -06:00
Paul Romano
6d731934f4
Fix bug in WeightWindowGenerator for empty energy bounds (#3263) 2025-01-15 06:35:37 -06:00
Patrick Shriwise
9070b8b220
Prepare point query data structures on meshes when applying Weight Windows (#3157)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-10-04 22:59:41 -05: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
3efd24289d
Fix creation of meshes when from loading settings from XML (#2805) 2023-12-13 08:41:51 -06:00
Paul Romano
85c963e223
Move 'import lxml' to third-party block of imports (#2803) 2023-12-13 14:11:32 +00:00
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev (#2740) 2023-10-31 16:55:19 -05:00
Paul Romano
0c6da383b6
Ensure that property setters are used in CylindricalMesh and SphericalMesh (#2709) 2023-09-26 22:17:49 -05:00
Jonathan Shimwell
9b7b33c7fa
Ruff comments on code (#2696)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-26 03:37:19 +00:00
Jonathan Shimwell
c8c5afaad9
Allowing WeightWindowGenerator to be fully made via constructor (#2686)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-14 02:27:48 +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
Patrick Shriwise
afa6ceb7d7
Adding ability to set additional ww attrs from openmc.lib (#2609)
Co-authored-by: Jonathan Shimwell <mail@jshimwell.com>
2023-07-22 21:18:46 +01:00
Patrick Shriwise
382bcb2e8e
Updates to object lifecycle for WeightWindows and WeightWindowGenerators (#2582) 2023-06-30 23:29:47 -04:00
Patrick Shriwise
3eeb131713
Add support for import of wwinp files using cylindrical and spherical meshes. (#2556)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-16 15:18:12 -05:00
Patrick Shriwise
610a5d8c34
Global Weight Window Generation via CAPI (#2359)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-09 10:47:27 -05:00
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -05:00
christinacai123
f8abaf687a
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-18 13:45:51 -04:00
Christina Cai
b4b4ff7948 added Pathlike to wwinp_to_wws 2023-04-15 15:49:16 -04:00
christinacai123
6b20df9652
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-15 15:44:02 -04:00
christinacai123
966f3e51a8
Apply suggestions from code review
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-04-13 17:26:26 -04:00
Christina Cai
c1c6865026 added type hinting for weight_windows.py 2023-04-12 14:00:48 -04:00
christinacai123
4cc2c99f06
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-10 12:56:51 -04:00
christinacai123
6d0e009acf
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-10 12:55:54 -04:00
Christina Cai
b96914cb29 added return types 2023-04-07 15:32:02 -04:00
Patrick Shriwise
43033b656c Returning a tuple for RegularMesh.dimension 2022-10-27 14:47:16 -05:00
Patrick Shriwise
53ec17eb77 fix comment 2022-10-27 11:41:12 -05:00
Patrick Shriwise
5c589b7a6c Adding __eq__ method and roundtrip test for wws 2022-10-27 11:40:12 -05:00
Ethan Peterson
7c9a18ddd0
Update openmc/weight_windows.py 2022-10-24 16:49:09 -04:00
Ethan Peterson
d78433ad3d reshape in from_xml and update inputs 2022-10-24 16:47:34 -04:00
Ethan Peterson
a9933c5ecf bounds.reshape doesn't modify bounds it returns a new array 2022-10-24 13:23:15 -04:00
Ethan Peterson
9c13e85dc2 fix wwinp reader 2022-10-01 09:22:57 -04:00
Paul Romano
02f1815299 Add missing versionadded directives 2022-08-15 13:20:59 -05:00
Paul Romano
dc7851dda2
Apply @pshriwise suggestions from code review
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2022-07-18 15:30:52 -05:00
Paul Romano
8e4ce676ff Make sure weight window lower/upper bounds are flattened before writing to XML 2022-07-12 13:50:48 -05:00
Paul Romano
78885ce17c Add wwinp_to_wws to documentation 2022-03-18 11:03:34 -05:00
Patrick Shriwise
c53c60fd61 Updating variables in loop 2022-03-17 21:47:40 -05:00
Patrick Shriwise
cfd6baf5ad
Apply suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-03-17 21:44:34 -05:00
Patrick Shriwise
faa142c78d
Apply suggestions from @eepeterson
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2022-03-17 09:20:37 -05:00
Patrick Shriwise
a86c472095 Replacing comprehension with numpy call 2022-03-16 22:56:44 -05:00
Patrick Shriwise
b0a4871710
Apply suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-03-16 22:51:47 -05:00
Patrick Shriwise
387f86389d Adding mesh definition checks requested by @eepeterson 2022-03-16 15:53:00 -05:00
Patrick Shriwise
2186df8ed4 Comment updates 2022-03-16 12:38:18 -05:00
Patrick Shriwise
eaa556c2b6 Removing unused imports 2022-03-16 12:30:26 -05:00
Patrick Shriwise
5169f4df57 PEP8 updates 2022-03-16 12:22:21 -05:00