VolMesh.vertex_degree

VolMesh.vertex_degree(vertex)

Count the neighbors of a vertex.

Parameters

vertex (int) – The identifier of the vertex.

Returns

int – The degree of the vertex.