Lines Matching refs:candidates
1091 …ddSharedFace_Private(DM dm, PetscSection candidateSection, PetscSFNode candidates[], PetscHMapIJ f… in DMPlexAddSharedFace_Private() argument
1111 if (candidates) PetscCall(PetscSectionGetOffset(candidateSection, p, &off)); in DMPlexAddSharedFace_Private()
1135 if (candidates) { in DMPlexAddSharedFace_Private()
1139 candidates[off + idx].rank = -1; in DMPlexAddSharedFace_Private()
1140 candidates[off + idx++].index = coneSize - 1; in DMPlexAddSharedFace_Private()
1141 candidates[off + idx].rank = rank; in DMPlexAddSharedFace_Private()
1142 candidates[off + idx++].index = face; in DMPlexAddSharedFace_Private()
1147 PetscCall(DMPlexMapToGlobalPoint(dm, cp, &candidates[off + idx], NULL)); in DMPlexAddSharedFace_Private()
1148 …dPrintf(comm, " (%" PetscInt_FMT "),%" PetscInt_FMT ")", candidates[off + idx].rank, candidates[of… in DMPlexAddSharedFace_Private()
1186 PetscSFNode *candidates, *candidatesRemote, *claims; in DMPlexInterpolatePointSF() local
1254 PetscCall(PetscMalloc1(candidatesSize, &candidates)); in DMPlexInterpolatePointSF()
1259 PetscCall(DMPlexAddSharedFace_Private(dm, candidateSection, candidates, faceHash, p, debug)); in DMPlexInterpolatePointSF()
1266 …ions(comm, "-petscsection_interp_candidate_view", "Candidates", NULL, candidatesSize, candidates)); in DMPlexInterpolatePointSF()
1280 …PetscCall(PetscSFBcastBegin(sfCandidates, MPIU_SF_NODE, candidates, candidatesRemote, MPI_REPLACE)… in DMPlexInterpolatePointSF()
1281 … PetscCall(PetscSFBcastEnd(sfCandidates, MPIU_SF_NODE, candidates, candidatesRemote, MPI_REPLACE)); in DMPlexInterpolatePointSF()
1444 const PetscInt Np = candidates[off + d].index; in DMPlexInterpolatePointSF()
1452 … PetscCall(DMPlexMapToLocalPoint(dm, remoteHash, candidates[off + d], &points[c + 1], NULL)); in DMPlexInterpolatePointSF()
1507 PetscCall(PetscFree(candidates)); in DMPlexInterpolatePointSF()