Commit graph

279 commits

Author SHA1 Message Date
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
Paul Romano
2e0472d57c Respond to @shimwell comments on #2071 2022-05-23 12:28:28 -05:00
Paul Romano
e34bf445f0 Add max_tracks setting (maximum number of tracks per process) 2022-05-20 10:46:59 -05:00
Paul Romano
8ecfdf0796 Update Settings.track to be list of 3-tuple 2022-05-19 17:12:38 -05:00
Jonathan Shimwell
350a347cf4 partly wrapped long line 2022-03-25 10:30:29 +00:00
Jonathan Shimwell
aef22e48a7
adding name space to import
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-03-25 10:16:58 +00:00
Jonathan Shimwell
7657e5ffcf
fixed typo 2022-03-10 22:45:13 +00:00
shimwell
4cfc01f5b9 sorted imports improved source and path type hints 2022-03-10 22:20:25 +00:00
Jonathan Shimwell
99cb83c035
Suggestions from PR review by @Paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-03-10 22:14:37 +00:00
Jonathan Shimwell
6eb00c6c6f added typehints to match docstrings 2022-03-08 13:04:42 +00:00
Patrick Shriwise
10f103c6d8
Merge pull request #1960 from paulromano/prepare-0.13.0
Prepare for version 0.13.0
2022-02-10 11:09:29 -06:00
Jonathan
04b5f4bc97 fixed minor typo in docs 2022-02-10 00:20:58 +00:00
Paul Romano
fdd5e10822 Release notes for 0.13.0 2022-02-04 07:19:35 -06:00
Paul Romano
f369a8ccac Add missing VolumeCalculation.from_xml_element method 2022-01-20 09:17:51 -06:00
Patrick Shriwise
a11b0d93d3 Fix: correcting checked_list type 2022-01-10 16:30:38 -06:00
Paul Romano
eca7919127 Add WeightWindows to API docs 2022-01-08 15:19:33 -06:00
YuanHu-PKU-KIT
e08af3c374 Implement mesh-based weight windows (squashed)
Co-authored-by: Andrew Davis <andrew.davis@ukaea.uk>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-01-08 14:43:18 -06:00
Paul Romano
eca57538cd Add missing Settings.write_initial_source property 2021-10-13 13:04:17 -05:00
Jonathan Shimwell
192f4436a0 replaced .format with f string 2021-07-29 18:25:37 +01:00
Patrick Shriwise
4b5aa24a1e Removing dagmc property and related methods from the settings class. 2021-05-19 18:01:35 -05:00
AI-Pranto
8c289fc5bd cleanup 2021-03-03 00:42:39 +06:00
AI-Pranto
6fdc7657c7 reflect change only on source side 2021-03-01 21:45:42 +06:00
AI-Pranto
a6144a4ab8 Rename to max_surface_particles 2021-02-25 10:46:57 +06:00
YoungHui Park
5f48ec9eeb Rename max_surf_banks to max_particles 2021-01-18 14:36:05 -06:00
YoungHui Park
26c3043726 Rename surf_ids to surface_ids 2021-01-18 14:36:05 -06:00
YoungHui Park
e427dbde50 Reword src to source for consistency 2021-01-18 14:36:05 -06:00
YoungHui Park
6fda5f12dc Fix indentation 2021-01-18 14:36:04 -06:00
YoungHui Park
f541090ba5 Update openmc/settings.py
Co-authored-by: Katie Mummah <radioactivekate@gmail.com>
2021-01-18 14:36:04 -06:00
YoungHui Park
7ecaecb853 Add Python API for settings of surface source reading 2021-01-18 14:36:04 -06:00
YoungHui Park
c4b39cdb6c Fix minor error 2021-01-18 14:36:04 -06:00
YoungHui Park
5760023d82 Add surf_ids for surf_src_write to Python API 2021-01-18 14:36:04 -06:00
YoungHui Park
32be23eeda Add Python API for settings of surface source writing 2021-01-18 14:36:04 -06:00
aprilnovak
2169cd5762 Fix indentation. 2020-10-19 09:03:09 -05:00
aprilnovak
b4deb90ad8 Ensure user sets particles before using entropy mesh dimension heuristic. 2020-10-16 15:44:02 -05:00
aprilnovak
4215669492 Use heuristic in setting the entropy mesh dimension if not provided. 2020-10-16 15:43:59 -05:00
Paul Romano
16d7ec0641 Sort XML attributes to preserve pre-Python 3.8 XML writing behavior 2020-06-17 22:08:09 -05:00
Paul Romano
5547ecf88f Add versionadded directive for new arguments/functions in 0.12 2020-04-10 21:52:43 -05:00
Paul Romano
4943ae9307 Alphabetize import ordering (and use relative imports in a few places) 2020-04-06 15:16:09 -05:00
Paul Romano
e34a71b448 Remove unused imports across entire Python API 2020-03-31 18:11:31 -05:00
alex-lyons
f2bc95afa5 Reduce no of batches for trigger from ~47 to ~13 to try to avoid test failures due to numerical differences in platform libraries 2020-03-27 07:47:59 -05:00
Paul Romano
a2d391321d Changes in settings.py from PullRequest Inc. review 2020-03-23 20:55:01 -05:00
Paul Romano
cf6b67c05d Remove explicit inheritance from object for Python classes 2020-03-23 12:12:31 -05:00
Paul Romano
24f7048494 Update pincell python example 2020-03-13 13:18:43 -05:00