grains.med.read_mesh¶
-
grains.med.read_mesh(filename)[source]¶ Reads a mesh file in .med format. Only one mesh, the first one, is supported. However, that mesh can contain groups.
- Parameters
filename (str) – Path to the mesh file.
- Returns
MEDFileUMesh – Represents an unstructured mesh. For details, see the manual on https://docs.salome-platform.org/latest/dev/MEDCoupling/developer/classMEDCoupling_1_1MEDFileUMesh.html