Cell.face_neighborhood

Cell.face_neighborhood(key, ring=1)

Return the faces in the neighborhood of a face.

Parameters
  • key (int) – The identifier of the face.

  • ring (int, optional) – The size of the neighborhood.

Returns

list[int] – A list of face identifiers.