Lines Matching refs:neighbor
450 PetscInt maxSupportSize, neighbor; in DMPlexOrient() local
472 neighbor = locSupport[0]; in DMPlexOrient()
473 PetscCall(DMPlexGetCone(dm, neighbor, &cone)); in DMPlexOrient()
474 PetscCall(DMPlexGetConeSize(dm, neighbor, &coneSize)); in DMPlexOrient()
475 PetscCall(DMPlexGetConeOrientation(dm, neighbor, &ornt)); in DMPlexOrient()
480 if (PetscBTLookup(flippedCells, neighbor - cStart)) rorntComp[face].rank = 1 - c * 2; in DMPlexOrient()
483 … if (PetscBTLookup(flippedCells, neighbor - cStart)) rorntComp[face].rank = ornt[c] < 0 ? -1 : 1; in DMPlexOrient()
819 PetscInt maxSuppSize, neighbor; in DMPlexOrientCells_Internal() local
844 neighbor = locSupp[0]; in DMPlexOrientCells_Internal()
845 nind = GetPointIndex(neighbor, cStart, cEnd, cells); in DMPlexOrientCells_Internal()
846 PetscCall(DMPlexGetCone(dm, neighbor, &cone)); in DMPlexOrientCells_Internal()
847 PetscCall(DMPlexGetConeSize(dm, neighbor, &coneSize)); in DMPlexOrientCells_Internal()
848 PetscCall(DMPlexGetConeOrientation(dm, neighbor, &ornt)); in DMPlexOrientCells_Internal()