CellNetwork.halfface_adjacent_halfface

CellNetwork.halfface_adjacent_halfface(halfface, halfedge)[source]

Return the halfface adjacent to the halfface across the halfedge.

Parameters:
halffaceint

The identifier of the halfface.

halfedgetuple[int, int]

The identifier of the halfedge.

Returns:
int | None

The identifier of the adjacent half-face, or None if halfedge is on the boundary.

Notes

The adjacent face belongs a to one of the cell neighbors over faces of the initial cell. A face and its adjacent face share two common vertices.