cashocs.io.mesh.gather_coordinates#
- cashocs.io.mesh.gather_coordinates(mesh: fenics.Mesh) ndarray [source]#
Gathers the mesh coordinates on process 0 to write out the mesh to a Gmsh file.
- Parameters:
mesh (fenics.Mesh) – The corresponding mesh.
- Returns:
A numpy array which contains the vertex coordinates of the mesh
- Return type:
ndarray