Commit graph

41 commits

Author SHA1 Message Date
amandalund
4a64e2a931 Address #991 comments; add comments; add stopping condition and warning on early convergence 2018-04-14 14:10:35 -05:00
amandalund
8838f14720 Added some more TRISO unit tests 2018-03-30 20:00:28 -05:00
amandalund
00cb914908 Add unit tests for TRISO 2018-03-26 17:14:26 -05:00
amandalund
98b6dc15a9 Fix that ensures TRISO particles are completely contained within the domain 2018-03-25 13:47:47 -05:00
Paul Romano
8487915f2a Use ufloat for k_combined in statepoint 2018-03-15 11:02:07 -05:00
Sterling Harper
80959dc82b Dont import capi (through model) on import openmc 2018-03-13 13:53:07 -04:00
Paul Romano
cc57551bd3 Fix bug in Model.run() 2018-02-25 15:22:30 -06:00
Paul Romano
4a500df455 Add Model.deplete method to make user's life easier 2018-02-20 16:40:18 -06:00
Sterling Harper
d34bdf9b98 Address #967 comments 2018-02-11 18:39:06 -05:00
Sterling Harper
9c53c085d6 Change boric_acid to borated_water; add more units 2018-02-11 15:01:51 -05:00
Paul Romano
59861c9507 No need to call int(floor(...)) in Python 3 2018-02-06 07:35:45 -05:00
Paul Romano
d3d6dc87dc Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00
Paul Romano
deab4b3d33 Use empty-argument form of super() 2018-02-05 23:14:30 -05:00
Paul Romano
c428cee667 Remove __future__ and six imports 2018-02-05 23:14:30 -05:00
Paul Romano
68a01b8fc1 Explicitly use int(floor(...)) for Python 2 compatibility 2018-02-05 07:35:48 -06:00
Paul Romano
6e9b8a5ce5 Move get_*_prism functions to openmc.model 2017-12-11 13:01:18 +07:00
Paul Romano
198df07311 Add subdivide convenience function 2017-12-11 13:01:18 +07:00
Paul Romano
c3c9df6a85 Make Intersection and Union obey the mutable sequence protocol 2017-06-07 20:12:51 -05:00
Paul Romano
281091196c Make sure == is used instead of 'is' in a few places 2017-05-08 08:36:35 -05:00
Paul Romano
7156d7cd98 Respond to @nelsonag comments on #852 2017-04-08 15:48:20 -05:00
Paul Romano
44949016b5 Use del a[:] instead of a.clear() for lists (latter doesn't work in Py2) 2017-04-07 21:04:14 -05:00
Paul Romano
1099d8bd9d Use StatePoint context manager for keff search 2017-04-07 21:04:14 -05:00
Paul Romano
fc0c907030 Add openmc.examples module that replaces input_set.py from tests 2017-04-07 21:04:10 -05:00
Adam Nelson
b63e1133f9 Updated per @paulromano comments 2017-03-20 21:10:04 -04:00
Adam Nelson
2d848401c1 Added docstrings to model methods 2017-03-19 17:44:56 -04:00
Adam Nelson
4b7a7e900b Moved the ModelContainer to models.Model, and allowed for brackets and choices on the solver methods 2017-03-18 20:53:59 -04:00
Paul Romano
de009f4c34 Use six.add_metaclass to be compatible with Python 2 and 3 2016-10-06 21:55:12 -05:00
amandalund
4631c5c7df is not -> != 2016-08-29 14:27:53 -05:00
amandalund
ce6b893dd4 Changed flag marking removed rods to integer to fix unorderable type error 2016-08-29 14:24:52 -05:00
amandalund
813efa3b66 Address #706 comments 2016-08-29 10:45:34 -05:00
amandalund
56f85323b8 Make sure input parameters are native Python types 2016-08-26 17:13:09 -05:00
amandalund
19eca29642 Address #706 comments 2016-08-26 16:19:12 -05:00
amandalund
6d82c7b48b Address #706 comments 2016-08-26 12:08:13 -05:00
amandalund
50042b4fe3 Added domain classes; Moved packing algorithms into separate functions 2016-08-25 22:39:40 -05:00
amandalund
a13d5a2748 Address #706 comments 2016-08-18 10:54:02 -05:00
amandalund
760168a82e Address #706 comments 2016-08-17 16:21:10 -05:00
amandalund
f3cfc181f4 Add packing function for TRISO particles 2016-08-16 20:14:34 -05:00
Paul Romano
14aaaa6bb8 Make TRISO a special kind of openmc.Cell 2016-06-08 19:47:05 -05:00
Paul Romano
69f2bc10a8 Warn user if TRISO particle is placed outside of lattice 2016-06-07 20:08:54 -05:00
Sterling Harper
55e1ebff2d Use multiple universes for TRISOs 2016-06-07 20:05:24 -05:00
Paul Romano
07ef67fee0 Initial TRISO modeling capabilities 2016-06-01 10:19:28 -05:00