#include "petscdmplex.h" PetscErrorCode DMPlexCreateMedFromFile(MPI_Comm comm, const char filename[], PetscBool interpolate, DM *dm)
comm | - The MPI communicator | |
filename | - Name of the .med file | |
interpolate | - Create faces and edges in the mesh |
dm | - The DM object representing the mesh |
Note: https://www.salome-platform.org/user-section/about/med, http://docs.salome-platform.org/latest/MED_index.html