Create regions separated by a series of surfaces.
This function allows regions to be constructed from a set of a surfaces that are “in order”. For example, if you had four instances of
openmc.ZPlaneat z=-10, z=-5, z=5, and z=10, this function would return a list of regions corresponding to z < -10, -10 < z < -5, -5 < z < 5, 5 < z < 10, and 10 < z. That is, for n surfaces, n+1 regions are returned.
surfaces (sequence of openmc.Surface) – Surfaces separating regions
Regions formed by the given surfaces
- Return type
list of openmc.Region