DMLabelPropagatePush#
Execute a cycle of label propagation
Synopsis#
#include "petscdmlabel.h"
#include "petscsection.h"
PetscErrorCode DMLabelPropagatePush(DMLabel label, PetscSF pointSF, MPI_Op merge, PetscErrorCode (*markPoint)(DMLabel label, PetscInt p, PetscInt val, PetscCtx ctx), PetscCtx ctx)
Collective
Input Parameters#
label - The
DMLabelto propagate across processespointSF - The
PetscSFdescribing parallel layout of the label pointsmerge - The operator which merges label values
markPoint - An optional callback that is called when a point is marked, or
NULLctx - An optional user context for the callback, or
NULL
Calling sequence of markPoint#
label - The
DMLabelp - The point being marked
val - The label value for
pctx - An optional user context
See Also#
Level#
intermediate
Location#
Index of all DMLabel routines
Table of Contents for all manual pages
Index of all manual pages