Commit graph

5317 commits

Author SHA1 Message Date
Patrick Shriwise
4ba053ca47
Generate Region Plots Directly (#2895)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-12 16:03:19 +00:00
Patrick Shriwise
9fd096b843
Add a max_events setting. (#2945)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-11 17:09:23 +00:00
Jonathan Shimwell
cfebe16127
added check for length of value passed into EnergyFilter (#2887) 2024-04-11 17:35:29 +02:00
Paul Romano
256150f567
Ensure that two surfaces with different boundary type are not considered redundant (#2942) 2024-04-11 15:00:41 +02:00
Lorenzo Chierici
569c087597
Depletion restart with mpi (#2778)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-09 12:26:03 -07: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
db3b6f3e9e
added missing functions and classes to openmc.lib docs (#2847)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-07 16:50:44 +00:00
Jonathan Shimwell
27bd315f0f
changing y axis label for heating plots (#2859)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-05 09:37:46 +00:00
Ethan Peterson
0aad22d541
Allow get_microxs_and_flux to use OPENMC_CHAIN_FILE environment variable (#2934) 2024-04-05 08:35:15 +02:00
Joffrey Dorville
cc848effe7
Meshborn filter (#2925)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-04 21:32:21 +00:00
Paul Romano
1a34ddf121
Fix CMFD to work with scipy 1.13 (#2936) 2024-04-03 20:54:13 -04:00
Paul Romano
9fee6534b6
Prepare for NumPy 2.0 (#2845) 2024-03-26 12:00:06 -04:00
Paul Romano
ce7efa415e
Fix Chain.form_matrix to work with scipy 1.12 (#2922) 2024-03-23 15:29:09 -07: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
Jonathan Shimwell
231fcb651b
Mkdir to always allow parents and exist ok (#2914) 2024-03-17 10:23:24 -05:00
Micah Gale
d10e128e76
Fixed small sphinx typo (#2915) 2024-03-13 23:13:02 +00: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
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
Gavin Ridley
02c0a09281
fix expansion filter merging (#2882)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-02-29 00:11:52 +00:00
Jonathan Shimwell
a8f7a61acb
removed unused step_index arg from restart (#2867) 2024-02-28 22:13:45 +00:00
rlbarker
b3a2456f2b
Added checks that tolerance value is between 0 and 1 (#2884) 2024-02-26 16:15:50 -06:00
Jonathan Shimwell
e8f68a0159
adding resulting nuclide to cross section plot legend (#2851)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-02-17 18:21:52 +00: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
Jonathan Shimwell
5005c3cdc6
type hinting openmc.deplete.abc.py (#2866)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-02-15 07:30:46 +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
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
Jonathan Shimwell
b97149ddf8
removed error raising when calling warn (#2853) 2024-01-20 13:06:45 -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
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
Gavin Ridley
d8e9d58c5e
Reset timers at correct place in deplete (#2821) 2024-01-11 08:56:44 -06:00
Gavin Ridley
cc15f5e5df
Fix config change not propagating through to decay energies (#2825) 2024-01-11 08:52: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
fb65dfd53c
Avoid high memory use when writing unstructured mesh VTK files (#2806) 2023-12-14 10:49:59 -06: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
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
124e62fc58
added path arg to integrator.integrate (#2784) 2023-12-12 13:32:09 -06: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
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
Ethan Peterson
8b2698f5c0
Change matrix format to CSC in depletion (#2764) 2023-11-28 07:34:02 -06:00
Ethan Peterson
9830efaf2a
change identity matrix format to csr in cram (#2771) 2023-11-21 14:22:42 -08: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