DMPlexCreateReferenceCell#
Create a DMPLEX with the appropriate FEM reference cell
Synopsis#
#include "petscdmplex.h"
#include "petscdmplextransform.h"
PetscErrorCode DMPlexCreateReferenceCell(MPI_Comm comm, DMPolytopeType ct, DM *refdm)
Collective
Input Parameters#
comm - The communicator
ct - The cell type of the reference cell
Output Parameter#
refdm - The reference cell
See Also#
DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexCreateBoxMesh()
Level#
intermediate
Location#
Examples#
src/dm/dt/dualspace/impls/lagrange/tutorials/ex1.c
src/dm/dt/dualspace/impls/lagrange/tests/ex1.c
src/dm/dt/tests/ex17.c
src/dm/dt/tests/ex4.c
src/dm/impls/plex/tests/ex22.c
src/dm/impls/plex/tests/ex8.c
Implementations#
DMPlexCreateReferenceCell_Internal() in src/dm/impls/plex/plexcreate.c
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages