VolMesh.halfface_adjacent_halfface

VolMesh.halfface_adjacent_halfface(halfface, halfedge)[source]

Return the halfface adjacent to the halfface across the halfedge.

Parameters
  • halfface (int) – The identifier of the halfface.

  • halfedge (tuple of int) – The identifier of the halfedge.

Returns

int or None – The identifier of the halfface.

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.