VolMesh.vertex_neighborhood_centroid

VolMesh.vertex_neighborhood_centroid(vertex)[source]

Compute the centroid of the neighbors of a vertex.

Parameters

vertex (int) – The identifier of the vertex.

Returns

list – The coordinates of the centroid.