openmc.model.HexagonalPrism¶
- class openmc.model.HexagonalPrism(edge_length: float = 1.0, orientation: str = 'y', origin: Sequence[float] = (0.0, 0.0), boundary_type: str = 'transmission', albedo: float = 1.0, corner_radius: float = 0.0)[source]¶
Hexagonal prism comoposed of six planar surfaces
New in version 0.14.0.
- 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.
origin (Iterable of two floats) – Origin of the prism.
boundary_type ({'transmission, 'vacuum', 'reflective', 'periodic', 'white'}) – Boundary condition that defines the behavior for particles hitting the surfaces comprising the hexagonal prism.
albedo (float, optional) – Albedo of the prism’s surfaces as a ratio of particle weight after interaction with the surface to the initial weight. Values must be positive. Only applicable if the boundary type is ‘reflective’, ‘periodic’, or ‘white’.
corner_radius (float) – Prism corner radius in units of [cm].