Commit graph

96 commits

Author SHA1 Message Date
Paul Romano
fefe825e65
Handle reflex angles in CylinderSector (#3303) 2025-02-21 17:44:09 -06:00
Zoe Prieto
2b788ea6e0
Streamline use of CompositeSurface with SurfaceFilter (#3167)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-02-20 19:51:05 -06:00
Patrick Shriwise
cf3f0201a0
Update to a consistent definition of the r2 parameter for cones (#3254)
Co-authored-by: Matthew Nyberg <mnyberg@wisc.edu>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-12 23:50:48 +00:00
Ethan Peterson
c226c783c4
Bug fix for Polygon 'yz' basis (#3259) 2025-01-10 22:20:00 +00:00
Seda Yilmaz
0ecd45c906
Add a vessel composite surface with ellipsoids on top and bottom. (#3168)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-11-12 23:11:59 +00:00
azimG
70807b146f
Update surface_composite.py (#3189) 2024-11-09 10:56:37 -06:00
Jonathan Shimwell
9983ee1a7e
allowing varible offsets for polygon.offset (#3120)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-11-08 23:52:40 +00:00
Paul Romano
fc3de1cbef
Add ConicalFrustum composite surface (#3151)
Co-authored-by: Ethan Peterson <eepeterson3@gmail.com>
2024-10-11 07:15:15 -04:00
Paul Romano
91fd60be69
Immediately resolve complement operators for regions (#3145) 2024-10-10 12:58:15 -05:00
Paul Romano
86fc40a645
Add OrthogonalBox composite surface (#3118) 2024-08-19 10:07:28 -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
Ethan Peterson
4bd0b09e60
Avoiding more numpy 2.0 deprecation warnings (#3049) 2024-06-20 18:14:55 +00:00
ybadr16
f6d3ee7a26
Update IsogonalOctagon to use xz basis and update tests (#3045) 2024-06-18 22:56:08 +00:00
Olek
3420199718
Fix CylinderSector and IsogonalOctagon translations (#3018)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-05-28 16:14:38 +00:00
Jonathan Shimwell
5d2b352025
f strings instead of .format for string editing (#2987) 2024-04-29 16:45:37 -05:00
Ethan Peterson
463299d04a
Polygon fix to better handle colinear points (#2935)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-08 15:45:01 +02:00
Micah Gale
7ed12788df
Clarifying documentation for Cones (#2892) 2024-03-09 12:49:28 -06:00
Paul Romano
fa2330103d
Release of version 0.14.0 (#2754) 2023-11-06 14:50:16 -06:00
Paul Romano
ac941f79e0
Add RectangularPrism and HexagonalPrism composite surfaces (#2739)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2023-11-01 09:13:40 -05:00
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev (#2740) 2023-10-31 16:55:19 -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
Olek
922b3f9de6
Cylindrical prism with optional filleted edges (#2309)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Wilson <paul.wilson@wisc.edu>
2023-07-18 12:11:06 -05:00
Jonathan Shimwell
4a1ff3350d
Merge pull request #2488 from paulromano/lazy-import-matplotlib
Defer import of matplotlib in multipole.py
2023-04-27 09:35:30 +01:00
Paul Romano
f2549c9470 Defer a few more matplotlib imports 2023-04-26 09:48:05 -05:00
Paul Romano
01cd2cc8dd
Check that distances are all positive
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2023-04-24 10:53:00 -05:00
Paul Romano
da24021119 Add property for distances in CruciformPrism 2023-04-24 09:48:26 -05:00
Paul Romano
95e3f94630 Implement CruciformPrism composite surface 2023-04-04 22:49:11 +02:00
Paul Romano
7bbf5466e6 Add missing versionadded directives 2023-03-28 13:34:14 -05:00
Ethan Peterson
2f5428f739
Update openmc/model/surface_composite.py
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2023-03-24 12:13:00 -04:00
Ethan Peterson
1a2d1237da
Update openmc/model/surface_composite.py
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-02-16 12:27:15 -05:00
Ethan Peterson
637080a0c2 address comments from @hassec review 2023-02-06 15:52:46 -05:00
Ethan Peterson
78b0fbaa27 finished polygon self-intersection check 2023-02-05 22:02:14 -05:00
Ethan Peterson
e20e648690 check for duplicate points 2023-01-30 19:40:00 -05:00
Ethan Peterson
4fade673a7 refactor to single validate_points method 2023-01-25 16:27:12 -05:00
Ethan Peterson
afbbc3d845 try to constrain triangulation 2023-01-24 23:00:27 -05:00
Ethan Peterson
2283e08fdc add abs_tol to prevent cones with infinite or 0 slope 2022-11-10 13:00:11 -05:00
Ethan Peterson
2adbe97194 updated algorithms and documentation 2022-11-10 11:15:24 -05:00
Ethan Peterson
d314bedbd7 improving documentation and style 2022-11-10 11:15:24 -05:00
Ethan Peterson
b0d71b3146 Apply suggestions from @paulromano code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-11-10 11:15:24 -05:00
Ethan Peterson
8ddb045c7d added warning about non-transmissive boundary_type 2022-11-10 11:15:24 -05:00
Ethan Peterson
a587f5e1c9 forgot to remove print 2022-11-10 11:15:24 -05:00
Ethan Peterson
fdc3cfcfbb fixed proper boundary_type setting? 2022-11-10 11:15:24 -05:00
Ethan Peterson
299525984f simplified offset method 2022-11-10 11:15:24 -05:00
Ethan Peterson
bf58a46a9c cleaning up and moving all methods to instance methods rather than module 2022-11-10 11:15:24 -05:00
Ethan Peterson
a26dcc65b7 cleaning up/consolidating functions 2022-11-10 11:15:24 -05:00
Ethan Peterson
3fe2bf4cb6 cleaning up unnecessary methods 2022-11-10 11:15:24 -05:00
Ethan Peterson
f6f2ed7b17 got other basis sets working 2022-11-10 11:15:24 -05:00
Ethan Peterson
aa7aab1768 method to break polygon into convex sets complete 2022-11-10 11:15:24 -05:00
Ethan Peterson
f6152d8250 working on other basis options 2022-11-10 11:15:24 -05:00
Paul Romano
d31b083685 Address @yardasol review comments 2022-08-16 16:19:55 -05:00