VolMesh.vertex_degree

VolMesh.vertex_degree(vertex)[source]

Count the neighbors of a vertex.

Parameters

vertex (int) – The identifier of the vertex.

Returns

int – The degree of the vertex.