VolMesh.cell_vertex_neighbors

VolMesh.cell_vertex_neighbors(cell, vertex)[source]

Ordered vertex neighbors of a vertex of a cell.

Parameters
  • cell (int) – Identifier of the cell.

  • vertex (int) – Identifier of the vertex.

Returns

list[int] – The list of neighboring vertices.

Notes

All of the returned vertices are part of the cell.

This method is similar to vertex_neighbors(), but in the context of a cell of the VolMesh.