Commit graph

65 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
a6c099e29a A few more fixes pointed out by @smharper 2019-06-17 06:24:45 -05:00
Paul Romano
e7f3e34088 Fix from_hdf5 for hex lattice with x orientation. Assorted other fixes. 2019-06-10 13:13:52 -05:00
Paul Romano
d36adef280 Fix unit test using Geometry.from_xml on a hex lattice 2019-06-08 06:57:57 -05:00
Paul Romano
853438083a Change order of x-oriented hex lattice universes to clockwise 2019-06-07 15:33:58 -05:00
Paul Romano
3794c3eec4 Update documentation for hex lattice 2019-06-04 15:59:54 -05:00
Paul Romano
a465dcdb16 Consistently use 'x' / 'y' for hex lattice orientation 2019-06-04 15:59:51 -05:00
dr.yuri
98a95d048a test works with x 2019-05-31 10:30:40 +03:00
dr.yuri
d860266892 test lattice OX according to PEP8 2019-05-31 02:38:06 +03:00
dryuri92
de0ffecdd5
Accept changes by P.Romano 2019-05-31 00:59:54 +03:00
dr.yuri
fb7a895ce9 removed unused marks 2019-05-30 14:13:27 +03:00
dr.yuri
00f346d40c add a decoding method to transform bytes to string 2019-05-30 13:55:32 +03:00
dr.yuri
8ae6c30d6b correct python code 2019-05-30 12:29:33 +03:00
dryuri92
86dc85621b
Update lattice.py with sharper recomendation 2019-05-30 11:26:49 +03:00
dr.yuri
d3e661e7da One possible decision of a conflict 2019-04-11 15:41:21 +03:00
dr.yuri
7813b284ad code was corrected,tabs were replaced by spaces, results for tallies test get from current version 2019-04-11 12:23:44 +03:00
dr.yuri
4b2bb55054 new hex first commit 2019-04-08 16:01:36 +03:00
liangjg
ea71b9e377 replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
Paul Romano
fbf7713a33 Split up Geometry.from_xml, rename clean_xml -> _xml 2018-08-21 07:47:29 -05:00
Sterling Harper
f223c2738f Swap RectLattice distribcell ordering 2018-05-16 18:17:23 -04: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
2027920fdd Add unit tests for openmc.RectLattice and openmc.HexLattice 2018-02-05 07:35:48 -06:00
Paul Romano
b9ae596200 Add tests for openmc.Geometry and remove __eq__ on openmc.Lattice 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
ca009e211e Manage unique IDs via new IDManagerMixin that uses class variables 2017-06-07 20:12:51 -05:00
Will Boyd
572000419d Simplified Universe equality operator per @paulromano suggestion 2017-05-12 08:29:01 -04:00
Will Boyd
398635c84a Added memo param to universe cloning in lattice clone method 2017-04-11 07:36:49 -04:00
Will Boyd
d0f871e7db Simplified universe cloning in lattice clone method 2017-04-11 07:36:00 -04: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
d406a14769 Fix a few doc bugs ('make latexpdf' now works again) 2017-04-05 12:05:28 -05: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
9b7c2fd413 Make sure distribcell paths match those in summary file 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
ddb72466c7 Cell and material counting now works for PyAPI with HexLattice 2017-03-06 12:36:48 -06:00
Paul Romano
f97154c6c0 Correctly write deferred-length character to HDF5 datasets 2017-03-03 09:17:55 -06:00
Paul Romano
01254d0b3d Make Universe, Lattice, and Material.from_hdf5 methods 2017-02-22 17:00:25 -06:00
Will Boyd
369edbbc40 Added a method to create a rectangular prism to PyAPI 2017-02-03 09:46:05 -05:00
Paul Romano
5a126d086e Use six.string_types instead of basestring 2016-10-06 21:55:12 -05:00