Commit graph

94 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
rockfool
7bf455d722 add white boundary in surface.py 2019-09-17 12:36:43 -04:00
rockfool
c88f013795 add white in surface.py 2019-09-16 14:23:31 -04:00
rockfool
d0eb84dd4e fix the conflict in surface.py 2019-09-16 14:12:54 -04:00
rockfool
fbaa780731 remove the surface.py first 2019-09-16 14:03:05 -04:00
rockfool
5f394b2816 add white boundary condition 2019-09-09 16:22:25 -04:00
Paul Romano
d85df13ae7 Make surfaces take coefficients as first arguments 2019-09-04 15:10:53 -05:00
liangjg
ea71b9e377 replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
Paul Romano
2d13d41da3
Merge pull request #1189 from pshriwise/corner_radius
Fix for hexagonal prism convenience function
2019-03-12 06:52:05 -05:00
Patrick Shriwise
e1aa836ea6 Adding some point checks for the hex prism test and removing import from surfae.py. 2019-03-08 14:45:33 -06:00
Paul Romano
325f9fcf72 Use lower-case argument names for surfaces consistently 2019-03-08 11:25:26 -06:00
Paul Romano
394ac75560 Add translate methods to surfaces and regions 2019-03-06 15:38:26 -06:00
Paul Romano
2943e38a81 Add Plane.from_points and cylinder_from_points convenience functions 2019-03-06 15:38:22 -06:00
amandalund
c443208e21 Generate sphere packing container from openmc.Region 2018-11-14 16:04:30 -06:00
Paul Romano
f42a75a9e1 Add Geometry.from_xml() capability 2018-08-17 12:02:02 -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
b0d35268f3 Add unit tests for surfaces 2018-02-05 07:35:18 -06:00
Paul Romano
61bdb5b322 Remove __eq__ and __hash__ on geometry objects 2017-12-17 07:16:05 +07:00
Paul Romano
6e9b8a5ce5 Move get_*_prism functions to openmc.model 2017-12-11 13:01:18 +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
Sam Shaner
e083b9423b fixed spacing in surface.py 2017-05-22 08:42:32 -04:00
Paul Romano
e2094435b8 Raise exception if periodic boundary used with rounded corners 2017-05-18 13:40:48 -05:00
Paul Romano
dbb30c6eb1 Add support for periodic boundary conditions on general planes 2017-05-18 13:08:12 -05:00
Paul Romano
946e2fd3b1 Fix bug applying boundary type to hexagon surfaces. Simplify handling of rounded
coners. PEP8 fixes.
2017-05-18 07:24:11 -05:00
Paul Romano
326c96f11f Improve coding for get_rectangular_region 2017-05-17 14:24:05 -05:00
Sam Shaner
e801ac2317 made corner_radius last argument 2017-05-17 14:00:31 -04:00
Sam Shaner
455c655c41 moved corner radius into get_rectangular_prism and get_hexagonal_prism functions 2017-05-17 10:59:55 -04:00
Sam Shaner
0fa5c63efb implemented square cylinder 2017-05-15 12:59:38 -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
6c40fb640a Continue working through new user's manual 2017-04-03 11:53:23 -05:00
tjlaboss
781d0aa976 Renamed back to 2017-03-30 14:10:15 -04:00
tjlaboss
95d644f711 Merge branch 'get_surfs' of github.com:tjlaboss/openmc into get_surfs 2017-03-30 14:09:12 -04:00
tjlaboss
e4984311c3 Renamed update_surfaces back to get_surfaces 2017-03-30 14:08:38 -04:00
tjlaboss
5cc6e6a684 Changed if statement for surfaces
Corrected `if not surfaces` to `if surfaces is None`
2017-03-30 14:06:17 -04:00
tjlaboss
a01b87d628 Reverted rename of get_surfaces() 2017-03-30 14:03:17 -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
a002e58ee8 Addressed changes suggested by @paulromano 2017-03-29 20:01:18 -04:00
Will Boyd
fd79f41bc4 Added default setting for prism boundary type parameter to docstring 2017-03-07 08:14:48 -05:00
Will Boyd
2909cbbb25 Added boundary conditions to rectangular and hexagonal prisms 2017-03-07 08:12:11 -05: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