Lines Matching refs:counter
1305 PetscCount counter = 0; in DMPlexPartitionLabelInvert() local
1328 PetscCall(PetscMPIIntCast(counter, &rdispls[r])); in DMPlexPartitionLabelInvert()
1329 counter += rcounts[r]; in DMPlexPartitionLabelInvert()
1331 if (counter > PETSC_MPI_INT_MAX) locOverflow = PETSC_TRUE; in DMPlexPartitionLabelInvert()
1335 PetscCall(PetscIntCast(counter, &leafSize)); in DMPlexPartitionLabelInvert()
1492 PetscInt pStart, pEnd, i, j, counter, leafCounter, sumDegrees, nroots, nleafs; in DMPlexRewriteSF() local
1588 counter = 0; in DMPlexRewriteSF()
1600 leafLocationsNew[leafCounter].rank = iremote[counter].rank; in DMPlexRewriteSF()
1601 leafLocationsNew[leafCounter].index = iremote[counter].index; in DMPlexRewriteSF()
1605 if (isLeaf[i]) counter++; in DMPlexRewriteSF()
1679 PetscInt offset, counter; in DMPlexRebalanceSharedPoints() local
1782 counter = 0; in DMPlexRebalanceSharedPoints()
1786 globalNumbersOfLocalOwnedVertices[i] = counter + 1 + offset; in DMPlexRebalanceSharedPoints()
1787 counter++; in DMPlexRebalanceSharedPoints()
2022 counter = 0; in DMPlexRebalanceSharedPoints()
2026 pointsToRewrite[counter] = i + pStart; in DMPlexRebalanceSharedPoints()
2027 counter++; in DMPlexRebalanceSharedPoints()