Commit graph

221 commits

Author SHA1 Message Date
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
josh
0792d987d0 Merge branch 'develop' into temp_interp_tol 2022-10-30 03:10:57 +00:00
Jonathan Shimwell
3623408bc5 avoid namespace overwrite of union 2022-10-27 17:38:27 +01:00
Olek
89ba5afb6c
Use @lewisgross1296 suggestion
Co-authored-by: Lewis Gross <43077972+lewisgross1296@users.noreply.github.com>
2022-10-24 13:36:36 -05:00
Olek
58b1a80b64
small grammar fix in Settings.temperature docstring 2022-10-24 13:02:09 -05:00
erkn
7759028d80 enable mcpl surf_source_write in the python layer 2022-10-11 16:50:40 +02:00
josh
3e2ddceaac Add tolerance for interp temps outside of bounds 2022-10-11 03:03:51 +00:00
Jonathan Shimwell
225dc5c43c create PathLike type for hints 2022-09-06 17:22:31 +01:00
Ethan Peterson
d23541f5ed simplify docstring 2022-08-10 13:00:35 -04:00
Ethan Peterson
1af84f94de added docstring info and test 2022-08-10 08:28:18 -04:00
Ethan Peterson
527d97916d allow settings properties to be set through constructor 2022-08-10 08:28:18 -04:00
Jonathan Shimwell
035b0df3d8 corrected rel_max_lost_particles type 2022-07-21 09:14:15 +01:00
Jonathan Shimwell
8bf727022f
return types corrections by @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-07-21 09:12:08 +01:00
Jonathan Shimwell
b144f1a0fa added return types to openmc.Settings 2022-07-20 13:22:01 +01:00