Commit graph

341 commits

Author SHA1 Message Date
Baptiste Mouginot
5ad1a4aa1e
Differentiate materials in DAGMC universes (#3056)
Co-authored-by: Baptiste Mouginot <bam.git.not.reply@gmail.com>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: azimG <azimgivron@yahoo.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-07 21:50:02 +00:00
Ebny Walid Ahammed
2d988a69a1
External sources alias sampler (#3201)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-11-23 19:10:39 +00:00
Paul Romano
d30b2e8014
Fix docstring for Model.plot (#3198) 2024-11-13 21:58:22 +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
Nicolas Linden
c05132cb0d
add export_model_xml arguments to Model.plot_geometry and Model.calculate_volumes (#3190)
Co-authored-by: Nicolas Linden <n.linde@naarea.fr>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-11-09 19:33:14 +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
Jonathan Shimwell
8b77a8dd3b
Adding source option to plot (#2863)
Co-authored-by: Jon Shimwell <jon@proximafusion.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-09-26 22:20:40 +00: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
Paul Romano
6e57f1dc72
Compute homogenized materials over mesh elements (#2971) 2024-05-02 13:47:10 -04: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
Jonathan Shimwell
231fcb651b
Mkdir to always allow parents and exist ok (#2914) 2024-03-17 10:23:24 -05:00
Paul Romano
c4a75f7062
Ensure that Model.run() works when specifying a custom XML path (#2889) 2024-03-11 22:35:32 -05:00
Micah Gale
7ed12788df
Clarifying documentation for Cones (#2892) 2024-03-09 12:49:28 -06:00
yrrepy
63916067ee
Use huge_tree=True in lxml parsing (#2791)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-01-17 06:54:03 +00:00
Paul Romano
85c963e223
Move 'import lxml' to third-party block of imports (#2803) 2023-12-13 14:11:32 +00:00
nplinden
47c37f506d
Correctly apply volumes to materials when using DAGMC geometries (#2787)
Co-authored-by: Nicolas Linden <n.linden@naarea.fr>
2023-11-29 05:44:14 -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
Yuvraj Jain
693314d097
Leaky and Albedo Boundary Conditions Implementation (#2724)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-10-30 16:51:31 -04:00
Jonathan Shimwell
03c1c6a1f3
moved diff_burnable_mat to model (#2718)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-10-17 07:14:55 -05:00
Paul Romano
61c43527e6
Clip low-importance points from discrete distributions (#2715)
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2023-09-29 21:13:19 -04: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
Paul Romano
93a0855c7f
Fix test error and deprecation warnings from numpy 1.25 (#2573) 2023-06-22 14:26:22 -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
Jonathan Shimwell
d6eac669c8
added mkdir to cwd argument in run (#2523) 2023-05-23 04:25:24 +00:00
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -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
Ethan Peterson
4f16481e6d
Merge pull request #2457 from paulromano/cruciform-prism
Implement composite surface for generalized cruciform prism
2023-04-24 16:28:19 -04:00
Jonathan Shimwell
895d969eed
Merge pull request #2466 from paulromano/nea-workshop-updates
Miscellaneous updates and improvements from NEA course
2023-04-24 21:15:57 +01: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
christinacai123
0280631fe7
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-18 13:46:33 -04:00
christinacai123
55b4df553c
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-15 15:54:41 -04:00
christinacai123
e3c0f6fcb4
Merge branch 'develop' into typehint_model 2023-04-12 20:54:19 -04:00
Christina Cai
f7457d6427 fixed circular import error 2023-04-12 15:11:13 -04:00
Christina Cai
1a0f442bba added return types for model.py 2023-04-12 14:22:17 -04:00
Paul Romano
5a0b679df8 Don't use a fixed default seed for pack_spheres 2023-04-11 13:23:12 -05:00
Paul Romano
f5ad0466cd Allow Model.run to pass kwargs to export methods 2023-04-11 13:18:34 -05:00
Paul Romano
95e3f94630 Implement CruciformPrism composite surface 2023-04-04 22:49:11 +02:00