Home
last modified time | relevance | path

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

/petsc/src/sys/tests/
H A Dex45.cxx49 const int myRank = comm->getRank(); in main() local
51 if (myRank == 0) cout << "Total number of processes: " << size << endl; in main()
55 if (myRank == 0) cout << "End Result: TEST PASSED" << endl; in main()
H A Dex46.cxx60 const int myRank = comm->getRank(); in main() local
62 if (myRank == 0) cout << "Total number of processes: " << size << endl; in main()
66 if (myRank == 0) cout << "End Result: TEST PASSED" << endl; in main()
/petsc/src/ksp/ksp/tests/
H A Dex63.cxx93 size_t myRank = comm->getRank(); in main() local
139 } else if (verbose && myRank == 0) { in main()
168 if (printLUStats && myRank == 0) { in main()
190 if (myRank == 0) *fos << "Norm2 of Ax - b = " << xhatnorms << std::endl; in main()
/petsc/src/dm/impls/plex/
H A Dplexpartition.c1400 PetscMPIInt myRank; in DMPlexPartitionLabelCreateSF() local
1415 myRank = sortRanks ? -1 : rank; in DMPlexPartitionLabelCreateSF()
1447 if (nn == myRank || numPoints <= 0) continue; in DMPlexPartitionLabelCreateSF()