Lines Matching refs:rootoffset

11   const PetscInt    *rootoffset, *leafoffset;  in PetscSFLinkInitMPIRequests_Persistent_Basic()  local
20 PetscCall(PetscSFGetRootInfo_Basic(sf, &nrootranks, &ndrootranks, NULL, &rootoffset, NULL)); in PetscSFLinkInitMPIRequests_Persistent_Basic()
23 disp = (rootoffset[i] - rootoffset[ndrootranks]) * link->unitbytes; in PetscSFLinkInitMPIRequests_Persistent_Basic()
24 cnt = rootoffset[i + 1] - rootoffset[i]; in PetscSFLinkInitMPIRequests_Persistent_Basic()
29 disp = (rootoffset[i] - rootoffset[ndrootranks]) * link->unitbytes; in PetscSFLinkInitMPIRequests_Persistent_Basic()
30 cnt = rootoffset[i + 1] - rootoffset[i]; in PetscSFLinkInitMPIRequests_Persistent_Basic()
102 const PetscInt *rootoffset, *leafoffset; in PetscSFLinkStartCommunication_MPIX_Stream() local
111 PetscCall(PetscSFGetRootInfo_Basic(sf, &nrootranks, &ndrootranks, NULL, &rootoffset, NULL)); in PetscSFLinkStartCommunication_MPIX_Stream()
114 disp = (rootoffset[i] - rootoffset[ndrootranks]) * link->unitbytes; in PetscSFLinkStartCommunication_MPIX_Stream()
115 cnt = (PetscMPIInt)(rootoffset[i + 1] - rootoffset[i]); in PetscSFLinkStartCommunication_MPIX_Stream()
120 disp = (rootoffset[i] - rootoffset[ndrootranks]) * link->unitbytes; in PetscSFLinkStartCommunication_MPIX_Stream()
121 cnt = (PetscMPIInt)(rootoffset[i + 1] - rootoffset[i]); in PetscSFLinkStartCommunication_MPIX_Stream()
300 const PetscInt *rootoffset; in PetscSFView_Basic_PatternAndSizes() local
322 PetscCall(PetscSFGetRootInfo_Basic(sf, &nrootranks, &ndrootranks, &rootranks, &rootoffset, NULL)); in PetscSFView_Basic_PatternAndSizes()
325 …tranks; i++) PetscCall(MatSetValue(A, rank, bas->iranks[i], (rootoffset[i + 1] - rootoffset[i]) * … in PetscSFView_Basic_PatternAndSizes()