Home
last modified time | relevance | path

Searched refs:newlabel (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/plex/transform/interface/
H A Dplextransform.c359 DMLabel newlabel; in DMPlexTransformSetFromOptions() local
361 PetscCall(DMLabelCreate(PETSC_COMM_SELF, "Active", &newlabel)); in DMPlexTransformSetFromOptions()
366 PetscCall(DMLabelInsertIS(newlabel, is, values[i])); in DMPlexTransformSetFromOptions()
369 PetscCall(DMPlexTransformSetActive(tr, newlabel)); in DMPlexTransformSetFromOptions()
370 PetscCall(DMLabelDestroy(&newlabel)); in DMPlexTransformSetFromOptions()
/petsc/src/dm/impls/plex/
H A Dplexsubmesh.c766 DMLabel label, newlabel; in DMPlexShiftLabels_Internal() local
780 PetscCall(DMGetLabel(dmNew, lname, &newlabel)); in DMPlexShiftLabels_Internal()
782 PetscCall(DMLabelSetDefaultValue(newlabel, val)); in DMPlexShiftLabels_Internal()
797 PetscCall(DMLabelSetValue(newlabel, newpoint, values[val])); in DMPlexShiftLabels_Internal()
3326 DMLabel label, newlabel; in DMPlexFilterLabels_Internal() local
3341 PetscCall(DMGetLabel(subdm, lname, &newlabel)); in DMPlexFilterLabels_Internal()
3343 PetscCall(DMLabelSetDefaultValue(newlabel, v)); in DMPlexFilterLabels_Internal()
3363 if (subp >= 0) PetscCall(DMLabelSetValue(newlabel, subp, values[v])); in DMPlexFilterLabels_Internal()