cashocs.io.mesh.parse_file#
- cashocs.io.mesh.parse_file(original_msh_file: str, out_msh_file: str, points: ndarray, dim: int) None [source]#
Parses the mesh file and writes a new, corresponding one.
- Parameters:
original_msh_file (str) – Path to the original GMSH mesh file of the mesh object, has to end with .msh.
out_msh_file (str) – Path to the output mesh file, has to end with .msh.
points (ndarray) – The mesh coordinates gathered on process 0
dim (int) – The dimensionality of the mesh
- Return type:
None