Commit graph

5318 commits

Author SHA1 Message Date
Patrick Shriwise
0ffe0b39c1 Adding docstrings to MeshSpatial Python class 2022-12-29 09:23:14 -06:00
NybergWISC
115be68953 Small refactor of distribution_spatial.cpp and change default of volume_normalized to True 2022-12-29 09:23:14 -06: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
shimwell
577157b846 allowing xml file for materials 2022-12-24 22:40:34 +00: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
a5bdbd3adb Address a few warnings from tests 2022-12-23 00:07:02 -06:00
Paul Romano
ecfa94e0ff Rename gnd_name to gnds_name. Change GND to GNDS in comments 2022-12-23 00:06:50 -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
erkn
2b7fa8fdd2 Revert "enable mcpl from the python layer"
This reverts commit e3f1bdaca1.
There is now a check in the cpp-layer if the file is named .mcpl
2022-12-20 23:58:34 +01:00
Paul Romano
4e49f69f02
Merge pull request #2320 from paulromano/from-njoy-high-t-fix
Fix `IncidentNeutron.from_njoy` for high temperatures
2022-12-15 16:22:43 -06:00
Patrick Shriwise
2eca57a299 Adding mesh memo to Settings.from_xml_element 2022-12-13 23:16:57 -06:00
Patrick Shriwise
43687e5194 Improve comment on recursion arguments 2022-12-12 21:40:48 -06:00
Patrick Shriwise
f3bcad37b7 Addressing comments from @paulromano 2022-12-12 21:30:05 -06:00
Patrick Shriwise
145594ebb8
Apply @paulromano suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-12-12 20:23:49 -06:00
Patrick Shriwise
916863f82a Renaming and docstring/comment updates 2022-12-07 11:02:10 -06:00
Patrick Shriwise
9c942db45e Correct use of mesh memo in single XML export 2022-12-07 10:10:22 -06:00
Patrick Shriwise
ef13643f29 Some housekeeping in the Python classes 2022-12-07 08:28:23 -06:00
Thomas Kittelmann
f2c28706a6
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-12-07 10:12:23 +01:00
Patrick Shriwise
d639d1dc1b Docstring correction 2022-12-06 14:41:11 -06:00
Patrick Shriwise
5634d8318a Changing name of input argument for Python executor 2022-12-06 14:40:59 -06:00
Patrick Shriwise
574845b18b Moving Model.from_separate_xmls back to Model.from_xml. 2022-12-06 13:18:31 -06:00
Patrick Shriwise
cd7c3bf6ba Updates to import/export methods suggested by @paulromano 2022-12-06 13:03:38 -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
3f4a9eb7a2 Reordering geometry XML element attributes 2022-12-06 13:03:38 -06:00
Patrick Shriwise
e7f95b0c7a Docstring correction and a note about the recursion 2022-12-06 13:03:38 -06:00
Patrick Shriwise
5d1ead2e6a Addressing some more PR comments. A couple of typo fixes too. 2022-12-06 13:03:38 -06:00
Patrick Shriwise
6f7a6febd3 Updating model XML file format w/ indentation. 2022-12-06 13:03:38 -06:00
Patrick Shriwise
d9847163e8 Adding ability to specify an input filename to the executable or to the python exec 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
1e7dbe99cf Making sure meshes are only written once to a model.xml file 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
021bb280c9 Adding initial test for exporting model.xmls. Correcting material maps 2022-12-06 13:03:38 -06:00
Patrick Shriwise
b4dcc30f92 Removing walrus operator 2022-12-06 13:03:38 -06:00
Patrick Shriwise
2e716589a1 Other bug fixes 2022-12-06 13:03:38 -06:00
Patrick Shriwise
af6b0af1e3 Fix loop variable overwrite 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
7a9d8c95af Keeping old option to write separate XMLs so I can still use to tests to make sure I don't break stuff. 2022-12-06 13:03:38 -06:00
Patrick Shriwise
a09a61e77b Writing all output under a single root node 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
josh
5b807d4e6c add capability to set cell temperature to None 2022-12-06 18:31:28 +00:00
Amanda Lund
b6075e0543
Merge pull request #2312 from paulromano/no-atomic-relax-fix
Fix photon transport when no atomic relaxation data is present
2022-12-06 09:44:02 -06:00
Paul Romano
772810a643
Merge pull request #2313 from valeriogiusti/valeriogiusti-patch-2
Update universe.py
2022-12-06 06:52:27 -06:00