petsc-3.12.5 2020-03-29
Report Typos and Errors

DMLabelFilter

Remove all points outside of [start, end)

Synopsis

#include "petscdmlabel.h"   
#include "petscsection.h"   
PetscErrorCode DMLabelFilter(DMLabel label, PetscInt start, PetscInt end)
Not collective

Input Parameters

label - the DMLabel
start - the first point kept
end - one more than the last point kept

See Also

DMLabelCreate(), DMLabelGetValue(), DMLabelSetValue(), DMLabelClearValue()

Level

intermediate

Location

src/dm/label/dmlabel.c
Index of all DMLABEL routines
Table of Contents for all manual pages
Index of all manual pages