Commit graph

2976 commits

Author SHA1 Message Date
Paul Romano
9fee6534b6
Prepare for NumPy 2.0 (#2845) 2024-03-26 12:00:06 -04:00
Micah Gale
23f19a0310
Implemented contains for BoundingBox containing other BoundingBox (#2906)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2024-03-21 14:22:35 -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
Jonathan Shimwell
b75ccd598e
Adding energy axis units to plot xs (#2876)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-02-29 01:31:54 +00:00
rlbarker
b3a2456f2b
Added checks that tolerance value is between 0 and 1 (#2884) 2024-02-26 16:15:50 -06:00
Patrick Shriwise
3b575a4daa
Adding openmc.read_source_file (#2858)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-02-16 21:16:36 +00:00
Paul Romano
bf33a9e11b
Add openmc_mesh_get_volumes C API function (#2869) 2024-02-13 06:44:05 -06:00
Paul Romano
f14fc55e60
Add bounding_box property to RectilinearMesh and UnstructuredMesh (#2861) 2024-01-30 21:24:30 -06:00
Patrick Shriwise
cb7ef009b9
Setting surf_source_ attribute for DAGMC surfaces. (#2857)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-01-30 00:59:16 +00:00
Paul Romano
e6a36ff796
Add C API function for getting mesh bins for rasterized plot (#2854) 2024-01-23 06:54:08 -06:00
Gavin Ridley
fca4da4bda
Export model.tallies to XML in CoupledOperator (#2840) 2024-01-23 06:53:11 -06:00
Patrick Shriwise
0785500bc4
Updating file extension for Excel files when exporting MGXS data (#2852) 2024-01-19 21:32:43 +00:00
Paul Romano
187160d082
Ability to compute material volume fractions over mesh elements (#2802) 2024-01-19 09:01:18 -06:00
Patrick Shriwise
057c33a48e
Expose Material::depletable in the CAPI (#2843)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-01-17 20:46:37 +00:00
Paul Romano
d7d2230e5f
Fix locating h5m files references in DAGMC universes (#2842) 2024-01-16 11:12:44 -06:00
Paul Romano
971c5f77a5
Ensure that implicit complement cells appear last in DAGMC universes (#2838) 2024-01-15 20:33:56 +00:00
Paul Romano
b0926ea22c
Prevent underflow in calculation of speed (#2811) 2024-01-03 08:25:33 -06:00
Jin Whan Bae
f5900293fa
microxs from mg flux and chain file (#2755)
Co-authored-by: Jin Whan Bae <baej@ornl.gov>
Co-authored-by: shimwell <mail@jshimwell.com>
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Olek <45364492+yardasol@users.noreply.github.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-12-21 21:21:14 -06:00
Paul Romano
85c963e223
Move 'import lxml' to third-party block of imports (#2803) 2023-12-13 14:11:32 +00:00
Jonathan Shimwell
552adc005c
added check to length of input args for IndependantOperator (#2799)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-12-12 23:37:53 +00:00
Jonathan Shimwell
15a2199c0d
adding get_all_nuclides method to geometry class (#2796)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-12-12 22:58:17 +00:00
Jonathan Shimwell
a833c176ab
Adding get cylindrical mesh index at specified coordinates (#2782)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-12-12 13:29:43 -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
Ethan Peterson
cad9fdc338
Modifications to deplete_with_transfer_rates regression test suite (#2779) 2023-11-27 13:16:34 -06:00
Patrick Shriwise
24e1c95161
Fix lagrangian interpolation (#2775) 2023-11-15 09:49:53 +00:00
Baptiste Mouginot
a3695c784e
Filter material from (#2750)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-11-09 16:05:42 +00:00
nplinden
910d1df1c9
fix unit conversion in openmc.deplete.Results.get_mass (#2761)
Co-authored-by: Nicolas Linden <n.linden@naarea.fr>
2023-11-09 07:13:30 -06:00
Patrick Shriwise
19f121a45a
Python mesh coordinates reorder (#2730)
Co-authored-by: Ethan Peterson <eepeterson3@gmail.com>
2023-11-01 11:19:27 -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
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
Paul Romano
2c1e304892
Fix bug in selecting data temperatures to read with temperature interpolation (#2734) 2023-10-30 07:30:04 -05:00
Patrick Shriwise
b465a83806
Skip BC check for volume calculations (#2743) 2023-10-23 22:50:21 +00:00
Paul Romano
979c164801
Check for invalid domain IDs in volume calculations (#2742) 2023-10-23 13:20:05 -05:00
Patrick Shriwise
e851c57b7b
Correct cylindrical/spherical centroids. (#2736) 2023-10-20 10:14:11 -05:00
Paul Romano
f82bdaa718
Bug fix in Region.from_expression during tokenization (#2733) 2023-10-20 10:04:05 -04:00
Patrick Shriwise
bd1c2286f8
Make BoundingBox a mutable type and add convenience methods. (#2717)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-10-17 17:51:05 +00:00
Patrick Shriwise
4d3a198c52
Updates to mesh vertices and centroids (#2711) 2023-10-17 11:21:57 -04: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
eb3eec8e71
added padding arg to bounding_region (#2701)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-29 15:30:46 +00:00
Patrick Shriwise
f7bb27e0d9
Making z-grid relative to the mesh origin in from_domain. (#2710) 2023-09-27 18:46:53 +00:00
Paul Romano
0c6da383b6
Ensure that property setters are used in CylindricalMesh and SphericalMesh (#2709) 2023-09-26 22:17:49 -05:00
Xinyan Wang
9cf2f22f24
Apply Weight Window Upon Surface Crossing (#2670)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-26 05:03:49 +00:00
Erik B Knudsen
d765bd031f
Limit number of lost particles written to disk. (#2688)
Co-authored-by: John Tramm <john.tramm@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-25 20:12:04 -05:00
Jonathan Shimwell
989875b070
allowing different volume methods for diff mat (#2691)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-26 00:37:25 +00:00
Paul Romano
7fdda4aa06
Allow mesh domain in get_microxs_and_flux (#2700) 2023-09-22 08:35:30 -05:00
Paul Romano
98fe64dd5a
Make sure FluxCollapseHelper loads missing nuclide data (#2694) 2023-09-15 13:19:11 -04:00
Olek
bbd7756930
Allow decay only nuclides to be specified in Material for a depletion simulation (#2616)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-14 01:00:52 +00:00
Paul Romano
0cf29f1459
Add type checks on Intersection, Union, Complement (#2685) 2023-09-13 12:49:38 -05:00
Lorenzo Chierici
1c82dfcc1c
Transfer rates multiple destination (#2626)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-13 12:15:44 -05:00
Jonathan Shimwell
be7a9c375a
cylindrical mesh lower left Z value corrected (#2684) 2023-09-05 22:25:47 -05:00