DMPlexCreateMedFromFile#

Create a DMPLEX mesh from a (Salome-)Med file.

Synopsis#

#include "petscdmplex.h"   
PetscErrorCode DMPlexCreateMedFromFile(MPI_Comm comm, const char filename[], PetscBool interpolate, DM *dm)

Collective

  • comm - The MPI communicator

  • filename - Name of the .med file

  • interpolate - Create faces and edges in the mesh

Output Parameter#

  • dm - The DM object representing the mesh

Reference#

  • **** -*** https://www.salome-platform.org/user-section/about/med, http://docs.salome-platform.org/latest/MED_index.html

See Also#

DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexCreateFromFile(), DMPlexCreateGmsh(), DMPlexCreate()

Level#

beginner

Location#

src/dm/impls/plex/plexmed.c


Edit on GitLab

Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages