DMPlexTransformAdaptLabel#

Adapt a DMPLEX using a DMPlexTransform driven by a DMLabel marking cells to be refined or coarsened.

Synopsis#

#include "petscdmplextransform.h" 
PetscErrorCode DMPlexTransformAdaptLabel(DM dm, PETSC_UNUSED Vec metric, DMLabel adaptLabel, PETSC_UNUSED DMLabel rgLabel, DM *rdm)

Collective

Input Parameters#

Output Parameter#

Note#

This routine is registered as the “cellrefiner” adaptor by DMGenerateRegisterAll() and is invoked through DMAdaptLabel().

See Also#

DMPLEX, DMPlexTransform, DMAdaptLabel(), DMPlexTransformApply(), DMPlexTransformCreate(), DMLabel

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