Lines Matching refs:rorntComp

344   PetscSFNode       *rorntComp = NULL, *lorntComp = NULL;  in DMPlexOrient()  local
454 … PetscCall(PetscCalloc3(numRoots, &rorntComp, numRoots, &lorntComp, maxSupportSize, &locSupport)); in DMPlexOrient()
480 if (PetscBTLookup(flippedCells, neighbor - cStart)) rorntComp[face].rank = 1 - c * 2; in DMPlexOrient()
481 else rorntComp[face].rank = c * 2 - 1; in DMPlexOrient()
483 … if (PetscBTLookup(flippedCells, neighbor - cStart)) rorntComp[face].rank = ornt[c] < 0 ? -1 : 1; in DMPlexOrient()
484 else rorntComp[face].rank = ornt[c] < 0 ? 1 : -1; in DMPlexOrient()
486 rorntComp[face].index = faceComp[face - fStart]; in DMPlexOrient()
489 PetscCall(PetscSFBcastBegin(sf, MPIU_SF_NODE, rorntComp, lorntComp, MPI_REPLACE)); in DMPlexOrient()
490 PetscCall(PetscSFBcastEnd(sf, MPIU_SF_NODE, rorntComp, lorntComp, MPI_REPLACE)); in DMPlexOrient()
507 …if ((face >= fStart) && (face < fEnd) && (faceComp[face - fStart] == comp) && rorntComp[face].rank… in DMPlexOrient()
536 const PetscInt o = rorntComp[face].rank * lorntComp[face].rank; in DMPlexOrient()
540 …_FMT ", %" PetscInt_FMT ") neighbor: %" PetscInt_FMT " comp: %d", face, rorntComp[face].rank, lorn… in DMPlexOrient()
695 PetscCall(PetscFree3(rorntComp, lorntComp, locSupport)); in DMPlexOrient()
746 PetscSFNode *rorntComp = NULL, *lorntComp = NULL; in DMPlexOrientCells_Internal() local
823 PetscCall(PetscCalloc3(numRoots, &rorntComp, numRoots, &lorntComp, maxSuppSize, &locSupp)); in DMPlexOrientCells_Internal()
853 if (PetscBTLookup(flippedCells, nind)) rorntComp[face].rank = 1 - c * 2; in DMPlexOrientCells_Internal()
854 else rorntComp[face].rank = c * 2 - 1; in DMPlexOrientCells_Internal()
856 if (PetscBTLookup(flippedCells, nind)) rorntComp[face].rank = ornt[c] < 0 ? -1 : 1; in DMPlexOrientCells_Internal()
857 else rorntComp[face].rank = ornt[c] < 0 ? 1 : -1; in DMPlexOrientCells_Internal()
859 rorntComp[face].index = faceComp[GetPointIndex(face, fStart, fEnd, faces)]; in DMPlexOrientCells_Internal()
862 PetscCall(PetscSFBcastBegin(sf, MPIU_SF_NODE, rorntComp, lorntComp, MPI_REPLACE)); in DMPlexOrientCells_Internal()
863 PetscCall(PetscSFBcastEnd(sf, MPIU_SF_NODE, rorntComp, lorntComp, MPI_REPLACE)); in DMPlexOrientCells_Internal()
882 if ((find >= 0) && (faceComp[find] == comp) && rorntComp[face].rank) { in DMPlexOrientCells_Internal()
914 const PetscInt o = rorntComp[face].rank * lorntComp[face].rank; in DMPlexOrientCells_Internal()
919 …etscInt_FMT ") neighbor: %" PetscInt_FMT " comp: %" PetscInt_FMT, face, rorntComp[face].rank, lorn… in DMPlexOrientCells_Internal()
1110 PetscCall(PetscFree3(rorntComp, lorntComp, locSupp)); in DMPlexOrientCells_Internal()