Lines Matching refs:proc
356 PetscMPIInt size, proc, rank; in DMPlexCreateTwoSidedProcessSF() local
394 for (proc = 0, numNeighbors = 0; proc < size; ++proc) { in DMPlexCreateTwoSidedProcessSF()
395 if (PetscBTLookup(neighbors, proc)) ++numNeighbors; in DMPlexCreateTwoSidedProcessSF()
400 for (proc = 0, n = 0; proc < size; ++proc) { in DMPlexCreateTwoSidedProcessSF()
401 if (PetscBTLookup(neighbors, proc)) { in DMPlexCreateTwoSidedProcessSF()
402 ranksNew[n] = proc; in DMPlexCreateTwoSidedProcessSF()
403 localPointsNew[n] = proc; in DMPlexCreateTwoSidedProcessSF()
405 remotePointsNew[n].rank = proc; in DMPlexCreateTwoSidedProcessSF()
1880 PetscInt pStart, pEnd, proc, npoints, poff = 0, nranks; in DMPlexDistribute() local
1886 for (proc = pStart; proc < pEnd; proc++) { in DMPlexDistribute()
1887 PetscCall(PetscSectionGetDof(cellPartSection, proc, &npoints)); in DMPlexDistribute()
1888 if (npoints) PetscCall(PetscHSetIAdd(ht, proc)); in DMPlexDistribute()
1899 for (proc = pStart; proc < pEnd; proc++) { in DMPlexDistribute()
1900 PetscCall(PetscSectionGetDof(cellPartSection, proc, &npoints)); in DMPlexDistribute()
1902 PetscCall(PetscSectionGetOffset(cellPartSection, proc, &poff)); in DMPlexDistribute()
1904 PetscCall(DMLabelSetStratumIS(lblPartition, proc, is)); in DMPlexDistribute()