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 |
|
Paul Romano
|
de009f4c34
|
Use six.add_metaclass to be compatible with Python 2 and 3
|
2016-10-06 21:55:12 -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 |
|
Paul Romano
|
0ee6a6169c
|
Fix typo
|
2016-05-31 06:47:27 -05:00 |
|
Paul Romano
|
08b8082b7b
|
First round of fixes for @wbinventor comments on #656
|
2016-05-29 10:20:11 -05:00 |
|
Paul Romano
|
e40a369693
|
Add geometry plotting capability and restructure lattice attributes
|
2016-05-27 09:53:07 -05:00 |
|
Paul Romano
|
8e4422ae1f
|
Add HexLattice.show_indices staticmethod and clarify universes description
|
2016-05-10 11:25:50 -05:00 |
|
Paul Romano
|
cf45388d6e
|
Fix universe assignment for openmc.HexLattice
|
2016-05-07 15:38:59 -04:00 |
|
Paul Romano
|
744ed3c5f8
|
Fix up docstrings for Lattice and its subclasses
|
2016-05-06 11:15:47 -05:00 |
|
Paul Romano
|
3da96a89be
|
Fix assignment of universe IDs for lattices
|
2016-04-25 13:06:20 -05:00 |
|
Paul Romano
|
fa1ca34094
|
Respond to @wbinventor comments on #626
|
2016-04-14 15:57:59 -05:00 |
|
Paul Romano
|
0339809deb
|
Fix imports in cell and lattice modules
|
2016-04-14 07:58:06 -05:00 |
|
Paul Romano
|
14dc134869
|
Complete overhaul of Python API documentation
|
2016-04-14 07:22:31 -05:00 |
|
Paul Romano
|
a7c455410b
|
Break up universe module into universe, cell, and lattice
|
2016-04-14 06:53:35 -05:00 |
|