openmc.stats.Box
- class openmc.stats.Box(lower_left: Sequence[float], upper_right: Sequence[float], only_fissionable: bool = False)[source]
Uniform distribution of coordinates in a rectangular cuboid.
- Parameters:
lower_left (Iterable of float) – Lower-left coordinates of cuboid
upper_right (Iterable of float) – Upper-right coordinates of cuboid
only_fissionable (bool, optional) –
Whether spatial sites should only be accepted if they occur in fissionable materials
Deprecated since version 0.15.0: Use the constraints argument when defining a source object instead.
- Variables:
lower_left (Iterable of float) – Lower-left coordinates of cuboid
upper_right (Iterable of float) – Upper-right coordinates of cuboid
only_fissionable (bool, optional) –
Whether spatial sites should only be accepted if they occur in fissionable materials
Deprecated since version 0.15.0: Use the constraints argument when defining a source object instead.