Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexorient.c344 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()
[all …]