Lines Matching refs:ndleafranks
10 PetscMPIInt nrootranks, ndrootranks, nleafranks, ndleafranks; in PetscSFLinkInitMPIRequests_Persistent_Basic() local
38 … PetscCall(PetscSFGetLeafInfo_Basic(sf, &nleafranks, &ndleafranks, NULL, &leafoffset, NULL, NULL)); in PetscSFLinkInitMPIRequests_Persistent_Basic()
40 for (PetscMPIInt i = ndleafranks, j = 0; i < nleafranks; i++, j++) { in PetscSFLinkInitMPIRequests_Persistent_Basic()
41 disp = (leafoffset[i] - leafoffset[ndleafranks]) * link->unitbytes; in PetscSFLinkInitMPIRequests_Persistent_Basic()
46 for (PetscMPIInt i = ndleafranks, j = 0; i < nleafranks; i++, j++) { in PetscSFLinkInitMPIRequests_Persistent_Basic()
47 disp = (leafoffset[i] - leafoffset[ndleafranks]) * link->unitbytes; in PetscSFLinkInitMPIRequests_Persistent_Basic()
101 PetscMPIInt nrootranks, ndrootranks, nleafranks, ndleafranks, cnt; in PetscSFLinkStartCommunication_MPIX_Stream() local
129 … PetscCall(PetscSFGetLeafInfo_Basic(sf, &nleafranks, &ndleafranks, NULL, &leafoffset, NULL, NULL)); in PetscSFLinkStartCommunication_MPIX_Stream()
131 for (i = ndleafranks, j = 0; i < nleafranks; i++, j++) { in PetscSFLinkStartCommunication_MPIX_Stream()
132 disp = (leafoffset[i] - leafoffset[ndleafranks]) * link->unitbytes; in PetscSFLinkStartCommunication_MPIX_Stream()
138 for (i = ndleafranks, j = 0; i < nleafranks; i++, j++) { in PetscSFLinkStartCommunication_MPIX_Stream()
139 disp = (leafoffset[i] - leafoffset[ndleafranks]) * link->unitbytes; in PetscSFLinkStartCommunication_MPIX_Stream()