GuySten
4500f07b44
Remove reorder_attributes from openmc._xml ( #3519 )
2025-08-08 16:59:22 +07:00
Jonathan Shimwell
3d16d4b100
Adding checks to geometry.plot to avoid material name overlaps ( #3458 )
...
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2025-06-19 20:43:45 +00:00
Jonathan Shimwell
3e32aed2da
Fixing crash when calling Geometry.plot when DAGMCUniverse in geometry ( #3455 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-06-18 18:34:07 +00:00
Paul Romano
59c398be84
Consolidate plotting capabilities in Model.plot ( #3282 )
...
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2025-01-31 10:12:24 -06:00
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
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
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
John Vincent Cauilan
cbec1ab035
Correct openmc.Geometry initializer to accept iterables of openmc.Cell ( #3081 )
2024-07-10 22:04:09 +00:00
Patrick Shriwise
25e47dea9b
Apply memoization in get_all_universes ( #2995 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-05-24 23:56:20 +00: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
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
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
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev ( #2740 )
2023-10-31 16:55:19 -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
ffbf1b9917
Expose universe plotting for the geometry class ( #2661 )
2023-08-22 08:45:40 -05:00
Jonathan Shimwell
457bea6f0b
replaced ordereddict with {} ( #2641 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-08-19 12:15:11 +00:00
Jonathan Shimwell
d47e9a1092
allowing geometry to be fully made via constructor ( #2602 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-07-23 22:26:13 +00: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
Patrick Myers
1cb22075ef
Changed xml to lxml ( #2489 )
2023-05-09 10:41:04 -05:00
Jonathan Shimwell
3ad8781444
Merge branch 'develop' into adding_bounding_box_class
2023-04-21 14:46:52 +01:00
Christina Cai
bdd34fc64d
added deepcopy back in geometry.py
2023-04-19 14:21:12 -04:00
Paul Romano
b5d30ff553
Refactor BoundingBox implementation
2023-04-18 22:26:37 -05:00
christinacai123
293f02d991
Apply suggestions from code review
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-18 13:46:57 -04:00
Christina Cai
5658cd88b1
Added xml.etree to first block of imports
2023-04-15 16:02:59 -04:00
christinacai123
c9a64e6fe0
Apply suggestions from code review
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-15 16:01:04 -04:00
Christina Cai
3692e7331f
added return types for geometry.py
2023-04-12 14:41:14 -04:00
Paul Romano
7bbf5466e6
Add missing versionadded directives
2023-03-28 13:34:14 -05:00
Patrick Shriwise
461fd54f11
Updating doc strings
2023-02-16 13:53:57 -06:00
Paul Romano
54320f3011
Merge pull request #2347 from shimwell/adding_get_surfaces_by_name
...
added get_surfaces_by_name method to geometry
2023-01-12 14:30:54 +07:00
Jonathan Shimwell
2c9df1b77e
Apply typo fixes identified incode review by @paulromano
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-01-11 09:32:02 +00:00
Jonathan Shimwell
a0afa5de44
added get_surfaces_by_name method
2023-01-10 19:04:12 +00:00
shimwell
577157b846
allowing xml file for materials
2022-12-24 22:40:34 +00:00
Patrick Shriwise
f3bcad37b7
Addressing comments from @paulromano
2022-12-12 21:30:05 -06:00
Patrick Shriwise
3f4a9eb7a2
Reordering geometry XML element attributes
2022-12-06 13:03:38 -06:00
Patrick Shriwise
b76825fa9f
Addressing some comments from PR
2022-12-06 13:03:38 -06:00
Patrick Shriwise
d034e1de9c
Apply suggestions from code review
...
Incorporating suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-12-06 13:03:38 -06:00
Patrick Shriwise
abd3d515b0
Correcting doc strings for material mapping sent to
2022-12-06 13:03:38 -06:00
Patrick Shriwise
2e716589a1
Other bug fixes
2022-12-06 13:03:38 -06:00
Patrick Shriwise
9391f17cff
Adding import for single or multiple XMLs
2022-12-06 13:03:38 -06:00
Patrick Shriwise
2555b951a4
Factor out to_xml_element methods for XML classes
2022-12-06 13:03:38 -06:00
Ethan Peterson
1110038939
remove get_redundant_surfaces and cache
2022-11-08 21:04:15 -05:00
Ethan Peterson
f5f42a4c80
Update openmc/geometry.py
...
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2022-10-26 13:37:09 -04:00
Ethan Peterson
e8d3e14adf
cache redundant_surfaces
2022-10-26 12:13:43 -04:00
Ethan Peterson
a46cafa7fe
addressed @pshriwise comments
2022-10-26 09:41:03 -04:00
Ethan Peterson
33021f7af1
removed precision parameter
2022-10-26 09:41:03 -04:00
Ethan Peterson
4604c10da1
added attributes and warnings
2022-10-26 09:41:03 -04:00
Ethan Peterson
1ab2cbec40
revert to False because of failing tests
2022-10-26 09:41:03 -04:00
Ethan Peterson
a67b330d8f
round and change default to True
2022-10-26 09:41:03 -04:00
Jonathan Shimwell
192f4436a0
replaced .format with f string
2021-07-29 18:25:37 +01:00
Patrick Shriwise
a407c12aae
Update openmc/geometry.py
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-06-30 12:45:08 -05:00