Commit graph

78 commits

Author SHA1 Message Date
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
Patrick Shriwise
c3997b3fbd Cleaning up reader 2022-03-16 12:18:21 -05:00
Patrick Shriwise
80517d1d4f wwinp IO refactor 2022-03-16 10:34:00 -05:00
Patrick Shriwise
2eab6fd335
Apply suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-03-15 18:53:42 -05:00
Patrick Shriwise
097c53f634 Changes requested by @paulromano 2022-03-15 18:51:33 -05:00
Patrick Shriwise
176b1a09a3 Updates to attribute name 2022-03-15 09:59:52 -05:00
Patrick Shriwise
87bde4d72c Using context manager. Improving docstring 2022-03-15 09:50:33 -05:00
Patrick Shriwise
1cdd7084fc PEP8 updates, correcting comment, removing unused var 2022-03-15 09:50:33 -05:00
Patrick Shriwise
d79f2899a8 Adding tests for time-dependent and non-rectilinear mesh wws 2022-03-15 09:50:33 -05:00
Patrick Shriwise
4a0f32fc23 Fixing ordering comment 2022-03-15 09:50:33 -05:00
Patrick Shriwise
3301c50d0e PEP8 updates for weight_windows module 2022-03-15 09:50:32 -05:00