Commit graph

61 commits

Author SHA1 Message Date
Paul Romano
bc09d1ef55 adding back files to be reviewed 2019-10-28 11:55:45 -05:00
Paul Romano
ae28233110 deleting all files to prepare for review 2019-10-28 11:48:19 -05:00
Paul Romano
3274c25969 Add ability to translate/rotate a cell filled with a lattice 2019-05-15 11:34:21 -05:00
Paul Romano
34a3fe2519 Fix Cell.from_xml_element when multiple temperatures are specified 2019-03-25 22:11:03 -05:00
Sterling Harper
de38aa5a63 Address #1061 comments 2018-08-27 17:07:22 -04:00
Paul Romano
fbf7713a33 Split up Geometry.from_xml, rename clean_xml -> _xml 2018-08-21 07:47:29 -05:00
Paul Romano
c83b890869 Use ufloat for stochastic volume results 2018-03-19 10:40: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
0aee52c5ab Remove deprecated methods 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
bf8c556b5a Unit tests for openmc.Cell 2018-02-05 07:35:48 -06:00
Paul Romano
61bdb5b322 Remove __eq__ and __hash__ on geometry objects 2017-12-17 07:16:05 +07:00
Paul Romano
c3c9df6a85 Make Intersection and Union obey the mutable sequence protocol 2017-06-07 20:12:51 -05:00
Paul Romano
ca009e211e Manage unique IDs via new IDManagerMixin that uses class variables 2017-06-07 20:12:51 -05:00
Paul Romano
c24d32b5cd Address comments from @cjosey on #890 2017-05-31 21:00:01 -05:00
Paul Romano
8b6abad60e Allow determine_paths() to be called only to get number of instances 2017-05-31 07:11:11 -05:00
Paul Romano
81fcd19ec6 Don't copy _paths when cloning Cell or Material 2017-05-26 07:52:39 -05:00
Will Boyd
400b5e2c1d Added __hash__ method to Surface class; revised clone methods memo param to use objects as keys 2017-04-10 17:17:17 -04:00
Will Boyd
120dca7703 Renamed clone memoize param as memo per request by @paulromano 2017-04-10 12:10:34 -04:00
Will Boyd
12a0e00305 Expanded docstrings for all clone methods 2017-04-10 10:13:59 -04:00
Will Boyd
364543b967 Now use memoization for geometry and materials cloning 2017-04-10 10:06:32 -04:00
Will Boyd
45af8a2937 Tested geometry cloning with examples and fixed a few bugs 2017-04-09 22:23:49 -04:00
Will Boyd
06a918c1b5 First stab at implementing clone() methods for geometric and material primitives 2017-04-09 16:30:33 -04:00
Paul Romano
d938fa0176 Fix bugs discovered during CNL workshop 2017-03-19 21:41:54 -05:00
Paul Romano
d2c7486cfc Address @wbinventor comments on #826 2017-03-10 10:43:01 -06:00
Paul Romano
61f0138555 Add Plot.from_geometry() classmethod 2017-03-08 14:24:41 -06:00
Paul Romano
3913d55e2c Allow color names, rename Plot attributes, add openmc.plot_inline() 2017-03-08 14:24:37 -06:00
Paul Romano
cda58c9e8f Address @wbinventor comments on #821 2017-03-06 19:59:46 -06:00
Paul Romano
2d1897a051 Remove offsets, distribcell_index, distribcell_paths 2017-03-06 12:36:48 -06:00
Paul Romano
4cd527cb16 Rewrite Geometry.get_cell_instance -> Geometry.get_instance 2017-03-06 12:36:48 -06:00
Paul Romano
fd7fa59192 Implement distributed paths 2017-03-06 12:36:48 -06:00
Will Boyd
c6348700ce Refactored cell/material instance counting into recursive methods defined on Universe class per request by @paulromano 2017-03-06 12:36:48 -06:00
Will Boyd
3bed097f1b Added Cell.num_instances property and Geometry.count_cell_instances() method 2017-03-06 12:36:48 -06:00
Paul Romano
cfb6339698 Change how volume is stored 2017-02-23 22:23:00 -06:00
Paul Romano
7ca46e809c Make get_all_* methods consistent -- always return dict 2017-02-23 07:39:28 -06:00
Paul Romano
01254d0b3d Make Universe, Lattice, and Material.from_hdf5 methods 2017-02-22 17:00:25 -06:00
Paul Romano
357aa894c8 Get rid of WRITTEN_IDS global variable 2016-12-14 06:58:45 -06:00
Paul Romano
9a3f3d1560 Use clever tricks to simplify Boolean geometry expressions 2016-12-14 06:57:51 -06:00
Paul Romano
5a126d086e Use six.string_types instead of basestring 2016-10-06 21:55:12 -05:00
Paul Romano
513597a8e3 Merge pull request #723 from smharper/less-summary
Remove unnecessary tally data from summary.h5
2016-09-28 06:24:52 -05:00
Paul Romano
7175f8ed44 Allow temperatures to be assigned to heterogeneous cells 2016-09-23 14:49:46 -05:00
Sterling Harper
e8aa4f2f10 Remove unnecessary tally data from summary.h5 2016-09-22 22:52:16 -04:00
Paul Romano
7528eabeaf Fix bug in nuclide density retrieval from volume calculation 2016-09-22 11:42:33 -05:00
Paul Romano
a5763ae599 Refactor volume calculation to allow material/universe volumes as well 2016-08-08 16:14:17 -05:00
Paul Romano
af27542af5 Fix a few docstrings 2016-08-01 21:48:02 -05:00
Paul Romano
08c9036bb6 Ability to link volume calculation results in order to compute microscopic cross
sections from mgxs
2016-08-01 10:37:00 -05:00
Paul Romano
c7a0b716d2 General cleanup -- both bugs and style issues -- based on running pylint 2016-07-02 11:04:25 +07:00
Sterling Harper
1a1320a2be Address #618 comments 2016-06-16 09:44:29 -05:00
Sterling Harper
3280d5465e Merge remote-tracking branch 'upstream/develop' into multipole 2016-06-09 13:32:26 -05:00
Paul Romano
2b219ae15f Refactor handling of cell fill types. Fix Geometry.get_* methods 2016-05-31 08:43:34 -05:00