DMPlexTransformCellTransformIdentity#
Default celltransform implementation for transforms that reproduce the input mesh
Synopsis#
#include "petscdmplextransform.h"
PetscErrorCode DMPlexTransformCellTransformIdentity(DMPlexTransform tr, DMPolytopeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *target[], PetscInt *size[], PetscInt *cone[], PetscInt *ornt[])
Not Collective
Input Parameters#
tr - The
DMPlexTransformsource - The cell type of the source point
p - The source point
Output Parameters#
rt - Refinement type of the source point (set to 0), or
NULLNt - Number of target cell types produced (always 1)
target - Array of produced cell types (a single-element array containing
source)size - Array of replica counts for each produced type (a single-element array containing 1)
cone - Cone description used by
DMPlexTransformGetCone(); encodes that the replica takes the entire parent coneornt - Orientation array associated with
cone; all zero for identity
Note#
This routine returns statically allocated arrays describing an identity refinement for each supported
DMPolytopeType; every source point produces a single replica of the same type with unchanged cone
and orientation.
See Also#
DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexTransform, DMPolytopeType, DMPlexTransformCellTransform(), DMPlexTransformGetSubcellOrientationIdentity()
Level#
developer
Location#
src/dm/impls/plex/transform/interface/plextransform.c
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages