Commit graph

15 commits

Author SHA1 Message Date
GuySten
04bee9c49f
Check that Surface IDs are at least 1 (#3772)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-02-06 18:44:16 +00:00
azimG
1645e3bb87
Mat ids reset (#3125)
Co-authored-by: azimgivron <azimgivron@gmail.com>
Co-authored-by: azim_givron <a.givron@naarea.fr>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-09-27 00:31:59 +00:00
Paul Romano
425dba5d25 Add test for mixed elastic thermal scattering 2022-07-22 07:49:01 -05:00
Jonathan Shimwell
192f4436a0 replaced .format with f string 2021-07-29 18:25:37 +01:00
Paul Romano
cceaa10893 Changes in trigger.py from PullRequest Inc. review 2020-04-01 14:13:05 -05:00
Paul Romano
ba9c3cada3 Remove __ne__ methods (default is correct in Python 3) 2020-03-25 06:55:20 -05:00
Paul Romano
cf6b67c05d Remove explicit inheritance from object for Python classes 2020-03-23 12:12:31 -05:00
Paul Romano
72aebfccf2 Fix subtle bug with next_id not getting reset for autogenerated IDs 2018-02-05 07:35:19 -06:00
Paul Romano
002c7651c2 Address comments by @smharper on #892. 2017-06-15 14:38:25 -05:00
Paul Romano
3a8205c6d9 Fix docstring for openmc.reserve_ids 2017-06-08 19:44:31 -05:00
Paul Romano
3aa456fd4b Move reset_auto_ids to mixin module and add set_auto_id and reserve_ids functions 2017-06-07 20:58:24 -05:00
Paul Romano
ca009e211e Manage unique IDs via new IDManagerMixin that uses class variables 2017-06-07 20:12:51 -05:00
Adam Nelson
d24aaa8626 Final changes 2016-08-19 19:24:51 -04:00
Adam Nelson
6403216911 Renamed Equality to EqualityMixin 2016-08-19 06:58:17 -04:00
Adam Nelson
f886d2849e Added in a mixin module with an Equality class for mixin use 2016-08-17 05:07:29 -04:00