Commit graph

234 commits

Author SHA1 Message Date
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
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
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
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev (#2740) 2023-10-31 16:55:19 -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
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
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
Christopher Fichtlscherer
03f98e8f82
time-cutoff version 2.0 (#2631) 2023-08-19 15:20:33 -05:00
Patrick Shriwise
fa245b0087
Fixing Universe.plot seed. (#2647)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-08-19 05:51:08 +00:00
Patrick Shriwise
eda39ad9ca
Python source class refactor (#2524)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-20 21:27:55 -05: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 Shriwise
610a5d8c34
Global Weight Window Generation via CAPI (#2359)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-09 10:47:27 -05:00
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -05:00
Yue JIN
e3d8982bb9
docs: typo fix (#2514)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-05-04 13:13:00 +00:00
Paul Romano
61b30f5dcc
Merge pull request #2334 from pshriwise/umesh_sampling
Unstructured Mesh Sampling Updates
2023-02-16 07:24:13 -06:00
Patrick Shriwise
3d548c882f Addressing latest comments from @paulromano 2023-02-13 09:52:17 -06:00
Patrick Shriwise
283e3ee6aa Adjust the read_meshes function to search only for mesh elements directly below the element passed in 2023-02-03 22:55:47 -06:00
Patrick Shriwise
fc67b38ba4 Adding roundtrip test for mesh sampling 2023-02-03 20:11:35 -06:00
Patrick Shriwise
4d06ed5640 Passing mesh memo through to source from_xml method 2023-01-12 23:53:06 -06:00
Christopher Fichtlscherer
a66d4da53f
Update openmc/settings.py
version number

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-01-12 06:26:07 -05:00
Christopher Fichtlscherer
36249d3742
Update openmc/settings.py
yes

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-01-12 06:25:52 -05:00
Christopher Fichtlscherer
f7c1a57b15 settings change element 2023-01-11 16:55:27 -05:00
Christopher Fichtlscherer
3ba117fcd9 indentation level change 2023-01-11 15:41:31 -05:00
Christopher Fichtlscherer
8b1ecaad09 deleted white spaces 2023-01-11 15:38:16 -05:00
Christopher Fichtlscherer
e266bb15bf old changes for delayed neutron feature 2023-01-11 14:50:08 -05:00
Christopher Fichtlscherer
9d86274fcc merge conflict 2023-01-11 14:17:29 -05:00
NybergWISC
bd60956d20 Second round of comments. volume method is now implemented from Mesh instead of UnstructuredMesh 2022-12-29 09:23:14 -06:00
NybergWISC
7c40badfbc Address comments on initial PR, all changed other than name of class and the use of python API to combine track outputs 2022-12-29 09:23:14 -06:00
NybergWISC
9f6d536959 Commit including most of the sampling work in distribution_spatial.cpp and testing 2022-12-29 09:23:12 -06:00
Paul Romano
3f8f8f6701
Merge pull request #2291 from pshriwise/model-xml
Support for a single `model.xml` file
2022-12-24 13:33:27 -06:00
Paul Romano
1680a72f12
Merge pull request #2116 from ebknudsen/mcpl_input
Add support for MCPL files
2022-12-24 13:12:52 -06:00
Paul Romano
25f2bd50f9 Several small fixes 2022-12-22 18:27:42 -06:00
Paul Romano
ddbd61cc97 Formatting fixes 2022-12-22 14:56:41 -06:00
Paul Romano
47848b79ab Allow Settings.sourcepoint['mcpl'] to be set 2022-12-22 14:56:40 -06:00
Paul Romano
987293cfff Small fixes and formatting changes 2022-12-22 10:57:11 -06:00
Patrick Shriwise
2eca57a299 Adding mesh memo to Settings.from_xml_element 2022-12-13 23:16:57 -06:00
Patrick Shriwise
f3bcad37b7 Addressing comments from @paulromano 2022-12-12 21:30:05 -06:00
Patrick Shriwise
916863f82a Renaming and docstring/comment updates 2022-12-07 11:02:10 -06:00
Patrick Shriwise
ef13643f29 Some housekeeping in the Python classes 2022-12-07 08:28:23 -06:00
Patrick Shriwise
2c27d1065a Moving other relevant XML reorder calls and updating expected input again. 2022-12-06 13:03:38 -06:00
Patrick Shriwise
1e7dbe99cf Making sure meshes are only written once to a model.xml file 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
ad746cb3e1 Writing all main nodes to a single XML file 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
Erik B Knudsen
3e60d51f90 from_xml mcpl-settings functionality 2022-11-16 13:54:08 +01:00
Paul Romano
df3334f19a
Merge pull request #2265 from joshmay1/temp_interp_tol
Adds a tolerance for temperatures slightly out of bounds when interpolating
2022-11-14 21:24:52 -08:00
Paul Romano
309c78dc78
Merge pull request #2273 from shimwell/type_hinting_for_source.py
Type hinting for source.py
2022-11-02 06:50:10 -05:00
josh
f6a7b61c4a address a few more formatting issues 2022-10-30 03:31:26 +00:00
josh
fc0e2c9bd0 undo formatting change of settings file 2022-10-30 03:28:14 +00:00