DMPlexCreate#

Creates a DMPLEX object, which encapsulates an unstructured mesh, or CW complex, which can be expressed using a Hasse Diagram.

Synopsis#

#include "petscdmplex.h"   
#include "petscdmplex.h"   
PetscErrorCode DMPlexCreate(MPI_Comm comm, DM *mesh)

Collective

Input Parameter#

  • comm - The communicator for the DMPLEX object

Output Parameter#

See Also#

DMPlex: Unstructured Grids in PETSc, DM, DMPLEX, DMType, DMPlexCreate(), DMCreate(), DMSetType()

Level#

beginner

Location#

src/dm/impls/plex/plexcreate.c

Examples#

src/dm/impls/plex/tutorials/ex3f90.F90.html


Edit on GitLab

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