This PR adds mesh element centroids as a property of the mesh. This is useful for tasks such as visualising mesh normals where plotting the normals at the element centroids is desirable. It is also useful for some numerical methods where properties are evaluated at the centroid of a mesh element.
It is implemented here as the mean of the three element vertices. It is implemented following the same conventions as are used for areas.
This PR adds mesh element centroids as a property of the mesh. This is useful for tasks such as visualising mesh normals where plotting the normals at the element centroids is desirable. It is also useful for some numerical methods where properties are evaluated at the centroid of a mesh element.
It is implemented here as the mean of the three element vertices. It is implemented following the same conventions as are used for areas.