openmc.make_hexagon_region¶
-
openmc.
make_hexagon_region
(edge_length=1.0, orientation='y')[source]¶ Create a hexagon region from six surface planes.
Parameters: - edge_length (float) – Length of a side of the hexagon in cm
- orientation ({'x', 'y'}) – An ‘x’ orientation means that two sides of the hexagon are parallel to the x-axis and a ‘y’ orientation means that two sides of the hexagon are parallel to the y-axis.
Returns: The inside of a hexagonal prism
Return type: