Lines Matching refs:DMLabelSetValue

144           PetscCall(DMLabelSetValue(label, f, cval));  in DMPlexMarkBoundaryFaces_Internal()
147 if (cl == clSize * 2) PetscCall(DMLabelSetValue(label, f, 1)); in DMPlexMarkBoundaryFaces_Internal()
154 else PetscCall(DMLabelSetValue(label, f, val)); in DMPlexMarkBoundaryFaces_Internal()
156 PetscCall(DMLabelSetValue(label, f, val)); in DMPlexMarkBoundaryFaces_Internal()
234 … for (c = 0; c < closureSize * 2; c += 2) PetscCall(DMLabelSetValue(label, closure[c], values[v])); in DMPlexLabelComplete_Internal()
363 PetscCall(DMLabelSetValue(label, cell, values[v])); in DMPlexLabelAddCells()
424 PetscCall(DMLabelSetValue(label, cell, values[v])); in DMPlexLabelAddFaceCells()
797 PetscCall(DMLabelSetValue(newlabel, newpoint, values[val])); in DMPlexShiftLabels_Internal()
831 for (; c < leafLocal[l] && c < cEnd; ++c) PetscCall(DMLabelSetValue(vtkLabel, c, 1)); in DMPlexCreateVTKLabel_Internal()
833 if (leafRemote[l].rank == rank) PetscCall(DMLabelSetValue(vtkLabel, c, 1)); in DMPlexCreateVTKLabel_Internal()
834 else if (ghostLabel) PetscCall(DMLabelSetValue(ghostLabel, c, 2)); in DMPlexCreateVTKLabel_Internal()
836 for (; c < cEnd; ++c) PetscCall(DMLabelSetValue(vtkLabel, c, 1)); in DMPlexCreateVTKLabel_Internal()
844 PetscCall(DMLabelSetValue(ghostLabel, f, 1)); in DMPlexCreateVTKLabel_Internal()
852 if (vA != 1 && vB != 1) PetscCall(DMLabelSetValue(ghostLabel, f, 1)); in DMPlexCreateVTKLabel_Internal()
1128 PetscCall(DMLabelSetValue(label, clp, clval)); in DivideCells_Private()
1143 PetscCall(DMLabelSetValue(label, support[s], clval < 0 ? clval - 1 : clval + 1)); in DivideCells_Private()
1172 PetscCall(DMLabelSetValue(label, support[s], cval)); in divideCell()
1604 if (hasUnsplit) PetscCall(DMLabelSetValue(label, -hybcell, dim)); in DMPlexConstructCohesiveCells_Internal()
1887 PetscCall(DMLabelSetValue(splitLabel, newp, val)); in DMPlexConstructCohesiveCells_Internal()
1888 PetscCall(DMLabelSetValue(splitLabel, splitp, -val)); in DMPlexConstructCohesiveCells_Internal()
1901 if (val >= 0) PetscCall(DMLabelSetValue(mlabel, splitp, val)); in DMPlexConstructCohesiveCells_Internal()
2069 PetscCall(DMLabelSetValue(label, point, dim - 1)); in CheckFaultEdge_Private()
2082 PetscCall(DMLabelSetValue(label, closure[cl], shift2 + dep)); in CheckFaultEdge_Private()
2086 PetscCall(DMLabelSetValue(label, closure[cl], dep)); in CheckFaultEdge_Private()
2104 PetscCall(DMLabelSetValue(label, closure[cl], shift2 + dep)); in CheckFaultEdge_Private()
2113 PetscCall(DMLabelSetValue(label, inclosure[incl], shift2 + indep)); in CheckFaultEdge_Private()
2198 if (pos) PetscCall(DMLabelSetValue(label, support[s], rev * (shift + dim))); in DMPlexLabelCohesiveComplete()
2199 else PetscCall(DMLabelSetValue(label, support[s], -rev * (shift + dim))); in DMPlexLabelCohesiveComplete()
2220 …PetscCall(DMLabelSetValue(label, point, pos == PETSC_TRUE ? shift + dim - 1 : -(shift + dim - 1))); in DMPlexLabelCohesiveComplete()
2264 PetscCall(DMLabelSetValue(label, point, shift2 + val)); in DMPlexLabelCohesiveComplete()
2277 …if (valE < 0 && valA >= 0 && valB >= 0 && cone[0] != cone[1]) PetscCall(DMLabelSetValue(blabel, su… in DMPlexLabelCohesiveComplete()
2309 PetscCall(DMLabelSetValue(label, point, shift3 + val)); in DMPlexLabelCohesiveComplete()
2317 PetscCall(DMLabelSetValue(label, clp, shift3 + val)); in DMPlexLabelCohesiveComplete()
2524 for (cl = 0; cl < faceSize; ++cl) PetscCall(DMLabelSetValue(subpointMap, closure[cl], 0)); in DMPlexMarkSubmesh_Uninterpolated()
2526 for (nc = 0; nc < numCells; ++nc) PetscCall(DMLabelSetValue(subpointMap, cells[nc], 2)); in DMPlexMarkSubmesh_Uninterpolated()
2604 PetscCall(DMLabelSetValue(subpointMap, point, d)); in DMPlexMarkSubmesh_Interpolated()
2612 … for (s = 0; s < supportSize; ++s) PetscCall(DMLabelSetValue(subpointMap, support[s], dim)); in DMPlexMarkSubmesh_Interpolated()
2666 for (p = 0; p < *nFV; ++p) PetscCall(DMLabelSetValue(subpointMap, cone[p], 0)); in DMPlexMarkCohesiveSubmesh_Uninterpolated()
2672 PetscCall(DMLabelSetValue(subpointMap, cells[p], 2)); in DMPlexMarkCohesiveSubmesh_Uninterpolated()
2712 PetscCall(DMLabelSetValue(subpointMap, point, d)); in DMPlexMarkCohesiveSubmesh_Interpolated()
2726 for (s = 0; s < supportSize; ++s) PetscCall(DMLabelSetValue(subpointMap, support[s], dim)); in DMPlexMarkCohesiveSubmesh_Interpolated()
3363 if (subp >= 0) PetscCall(DMLabelSetValue(newlabel, subp, values[v])); in DMPlexFilterLabels_Internal()
3432 PetscCall(DMLabelSetValue(subpointMap, closure[c], pdim)); in DMPlexCreateSubmeshGeneric_Interpolated()