DMPlexCellRefinerMapLocalizedCoordinates#

Given a cell of DMPolytopeType ct with localized coordinates x, generate localized coordinates xr for subcell r of type rct.

Synopsis#

#include "petscdmplextransform.h" 
static PetscErrorCode DMPlexTransformMapLocalizedCoordinates(DMPlexTransform tr, DMPolytopeType ct, DMPolytopeType rct, PetscInt r, const PetscScalar x[], PetscScalar xr[])

Not Collective

Input Parameters#

  • tr - The DMPlexTransform

  • ct - The type of the parent cell

  • rct - The type of the produced cell

  • r - The index of the produced cell

  • x - The localized coordinates for the parent cell

Output Parameter#

  • xr - The localized coordinates for the produced cell

See Also#

DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexTransform, DMPolytopeType, DMPlexCellRefinerSetCoordinates()

Level#

developer

Location#

src/dm/impls/plex/transform/interface/plextransform.c


Edit on GitLab

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