DMPlexCreateCGNS#
Create a DMPLEX
mesh from a CGNS file ID.
Synopsis#
#include "petscdmplex.h"
PetscErrorCode DMPlexCreateCGNS(MPI_Comm comm, PetscInt cgid, PetscBool interpolate, DM *dm)
Collective
Input Parameters#
comm - The MPI communicator
cgid - The CG id associated with a file and obtained using cg_open
interpolate - Create faces and edges in the mesh
Output Parameter#
dm - The
DM
object representing the mesh
Note#
https://cgns.github.io
See Also#
DMPlex: Unstructured Grids, DM
, DMPLEX
, DMPlexCreate()
, DMPlexCreateExodus()
Level#
beginner
Location#
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages