Paul Romano
|
d3d6dc87dc
|
Remove a few more __future__ imports. Use collections.abc
|
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
|
b9ae596200
|
Add tests for openmc.Geometry and remove __eq__ on openmc.Lattice
|
2018-02-05 07:35:48 -06:00 |
|
Paul Romano
|
38550f3bf8
|
Use sorted() to sort XML elements in geometry.xml
|
2017-12-11 13:01:18 +07:00 |
|
Paul Romano
|
726d1a268f
|
Sort materials list before creating <material> elements
|
2017-12-11 13:01:18 +07:00 |
|
Paul Romano
|
3aa456fd4b
|
Move reset_auto_ids to mixin module and add set_auto_id and reserve_ids functions
|
2017-06-07 20:58:24 -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 |
|
Will Boyd
|
364543b967
|
Now use memoization for geometry and materials cloning
|
2017-04-10 10:06:32 -04:00 |
|
Will Boyd
|
c4fe563395
|
Added clone method to Geometry class
|
2017-04-09 22:26:09 -04:00 |
|
tjlaboss
|
781d0aa976
|
Renamed back to
|
2017-03-30 14:10:15 -04:00 |
|
tjlaboss
|
fc23007dae
|
Changed get_surfaces() to update_surface()
As per @paulromano's suggestion, renamed the method of
the `Region` class that updates the surface dictionary.
|
2017-03-30 13:37:12 -04:00 |
|
tjlaboss
|
30548c7c80
|
Addressed comments by @wbinventor
|
2017-03-30 13:34:51 -04:00 |
|
tjlaboss
|
8a275bbd77
|
Use Geometry.get_all_cells()
Geometry.get_all_cells() accounts for nested cells.
Geometry.root_universe.cells() doesn't.
|
2017-03-29 20:12:24 -04:00 |
|
tjlaboss
|
bff2f13f4c
|
Cleanup
|
2017-03-29 20:07:44 -04:00 |
|
tjlaboss
|
a002e58ee8
|
Addressed changes suggested by @paulromano
|
2017-03-29 20:01:18 -04:00 |
|
tjlaboss
|
73888b223d
|
Fixed get_all_surfaces() docstring too
|
2017-03-28 23:18:54 -04:00 |
|
tjlaboss
|
ce5e30b498
|
Changed "lattice" to "surface" in docstring
|
2017-03-28 23:16:36 -04:00 |
|
tjlaboss
|
44d99935d1
|
Made get_surfaces_from_region() private method
|
2017-03-28 23:15:37 -04:00 |
|
tjlaboss
|
9fcdd5e046
|
Wrote method Geometry.get_all_surface()
A method in the vein of `Geometry.get_all_cells()`
|
2017-03-28 17:50:29 -04:00 |
|
Paul Romano
|
d938fa0176
|
Fix bugs discovered during CNL workshop
|
2017-03-19 21:41:54 -05:00 |
|
Paul Romano
|
b8f6575cc4
|
Some bug fixes for volume calculations
|
2017-03-11 14:31:02 -06:00 |
|
Paul Romano
|
61f0138555
|
Add Plot.from_geometry() classmethod
|
2017-03-08 14:24:41 -06:00 |
|
Paul Romano
|
b87f2d6cd7
|
Make Geometry.get_instances accept iterables. Don't autocalculate paths
|
2017-03-07 10:48:38 -06:00 |
|
Paul Romano
|
cda58c9e8f
|
Address @wbinventor comments on #821
|
2017-03-06 19:59:46 -06:00 |
|
Paul Romano
|
4cd527cb16
|
Rewrite Geometry.get_cell_instance -> Geometry.get_instance
|
2017-03-06 12:36:48 -06:00 |
|
Paul Romano
|
d22f10d60e
|
Automatically determine paths when root_universe is assigned.
|
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
|
ddb72466c7
|
Cell and material counting now works for PyAPI with HexLattice
|
2017-03-06 12:36:48 -06:00 |
|
Will Boyd
|
3122d0798f
|
Began adding code to count material instances
|
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
|
8be6a58603
|
Relax restriction that root universe have ID=0.
|
2017-03-06 12:36:48 -06:00 |
|
Paul Romano
|
d084b718f0
|
Fix Geometry.get_all_lattices() and Geometry.get_all_material_universes()
|
2017-03-04 00:25:30 -06:00 |
|
Paul Romano
|
cfb6339698
|
Change how volume is stored
|
2017-02-23 22:23:00 -06:00 |
|
Paul Romano
|
acdf287c01
|
Allow volume information to be added to materials and universes
|
2017-02-23 22:21:53 -06:00 |
|
Paul Romano
|
e40c89b34f
|
Address a few more @wbinventor comments. Fix Jupyter notebooks.
|
2017-02-23 09:43:00 -06:00 |
|
Paul Romano
|
7ca46e809c
|
Make get_all_* methods consistent -- always return dict
|
2017-02-23 07:39:28 -06:00 |
|
Paul Romano
|
357aa894c8
|
Get rid of WRITTEN_IDS global variable
|
2016-12-14 06:58:45 -06:00 |
|
Paul Romano
|
fbcb15f8c5
|
Simplify usage of DataLibrary.register_file()
|
2016-09-23 06:26:33 -05:00 |
|
Paul Romano
|
0fcc44bedb
|
Fix specification of material temperature. Allow XML files to be exported to
non-default paths.
|
2016-09-13 23:16:10 +02: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 |
|
Paul Romano
|
2b219ae15f
|
Refactor handling of cell fill types. Fix Geometry.get_* methods
|
2016-05-31 08:43:34 -05:00 |
|
Paul Romano
|
08b8082b7b
|
First round of fixes for @wbinventor comments on #656
|
2016-05-29 10:20:11 -05:00 |
|
Paul Romano
|
eb3f888c89
|
Allow root_universe to be passed to Geometry constructor
|
2016-05-27 09:53:07 -05:00 |
|
Paul Romano
|
e40a369693
|
Add geometry plotting capability and restructure lattice attributes
|
2016-05-27 09:53:07 -05:00 |
|