Lines Matching refs:nrootranks
10 PetscMPIInt nrootranks, ndrootranks, nleafranks, ndleafranks; in PetscSFLinkInitMPIRequests_Persistent_Basic() local
20 PetscCall(PetscSFGetRootInfo_Basic(sf, &nrootranks, &ndrootranks, NULL, &rootoffset, NULL)); in PetscSFLinkInitMPIRequests_Persistent_Basic()
22 for (PetscMPIInt i = ndrootranks, j = 0; i < nrootranks; i++, j++) { in PetscSFLinkInitMPIRequests_Persistent_Basic()
28 for (PetscMPIInt i = ndrootranks, j = 0; i < nrootranks; i++, j++) { in PetscSFLinkInitMPIRequests_Persistent_Basic()
101 PetscMPIInt nrootranks, ndrootranks, nleafranks, ndleafranks, cnt; in PetscSFLinkStartCommunication_MPIX_Stream() local
111 PetscCall(PetscSFGetRootInfo_Basic(sf, &nrootranks, &ndrootranks, NULL, &rootoffset, NULL)); in PetscSFLinkStartCommunication_MPIX_Stream()
113 for (i = ndrootranks, j = 0; i < nrootranks; i++, j++) { in PetscSFLinkStartCommunication_MPIX_Stream()
119 for (i = ndrootranks, j = 0; i < nrootranks; i++, j++) { in PetscSFLinkStartCommunication_MPIX_Stream()
299 PetscMPIInt nrootranks, ndrootranks; in PetscSFView_Basic_PatternAndSizes() local
322 PetscCall(PetscSFGetRootInfo_Basic(sf, &nrootranks, &ndrootranks, &rootranks, &rootoffset, NULL)); in PetscSFView_Basic_PatternAndSizes()
323 PetscCall(MatCreateAIJ(comm, 1, 1, size, size, 1, NULL, nrootranks - ndrootranks, NULL, &A)); in PetscSFView_Basic_PatternAndSizes()
325 …for (PetscMPIInt i = 0; i < nrootranks; i++) PetscCall(MatSetValue(A, rank, bas->iranks[i], (rooto… in PetscSFView_Basic_PatternAndSizes()