Patrick Shriwise
|
0699de3fd5
|
Apply @paulromano's suggestions from code review
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
|
2019-11-08 09:44:51 -06:00 |
|
Patrick Shriwise
|
c5cef78ade
|
Adding memo for get_all_cells/get_all_materials.
|
2019-11-07 14:57:09 -06:00 |
|
guillaume
|
5fc1216708
|
Address @smharper's review
|
2019-11-05 13:57:11 -05:00 |
|
Giud
|
b08933a653
|
Apply suggestions from code review
Co-Authored-By: Sterling Harper <sterlingmharper@gmail.com>
|
2019-11-03 14:57:44 -05:00 |
|
Patrick Shriwise
|
6bd25d43a3
|
Updating doc strings for the memo object in xml related calls.
|
2019-11-01 07:39:59 -05:00 |
|
Patrick Shriwise
|
05942a5ab5
|
Using a single set of object IDs as a memo.
|
2019-11-01 07:28:53 -05:00 |
|
Patrick Shriwise
|
ec1a4b5d2b
|
Adding documentation to create_xml_subelement methods. Removing old, now unused, path variables from those methods as well.
|
2019-11-01 07:28:53 -05:00 |
|
Patrick Shriwise
|
177f3d1423
|
Correction to memoization for xml export.
|
2019-11-01 07:28:53 -05:00 |
|
Patrick Shriwise
|
4b654c2be0
|
Moving to memoization pattern instead of singleton class.
|
2019-11-01 07:28:53 -05:00 |
|
Patrick Shriwise
|
4cccdbece4
|
Singleton approach to tracking openmc xml elements with sets.
|
2019-11-01 07:28:53 -05:00 |
|
Giud
|
9dd2c450bb
|
Add option to avoid cloning cell regions
|
2019-10-16 11:27:13 -04:00 |
|
Giud
|
5c48f325b0
|
Implement degenerate and recursive LNS lattice discretization schemes
|
2019-10-16 11:05:58 -04:00 |
|
Paul Romano
|
4950392fd0
|
Support for setting rotation matrix directly
|
2019-10-16 11:01:34 +07: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 |
|