openmc.lib.find_cell¶
- openmc.lib.find_cell(xyz)[source]¶
Find the cell at a given point
- Parameters
xyz (iterable of float) – Cartesian coordinates of position
- Returns
openmc.lib.Cell – Cell containing the point
int – If the cell at the given point is repeated in the geometry, this indicates which instance it is, i.e., 0 would be the first instance.