Home
last modified time | relevance | path

Searched refs:rootoffset (Results 1 – 3 of 3) sorted by relevance

/petsc/src/vec/is/sf/impls/basic/
H A Dsfbasic.c11 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()
[all …]
H A Dsfbasic.h40 …scMPIInt *ndrootranks, const PetscMPIInt **rootranks, const PetscInt **rootoffset, const PetscInt … in PetscSFGetRootInfo_Basic() argument
48 if (rootoffset) *rootoffset = bas->ioffset; in PetscSFGetRootInfo_Basic()
/petsc/src/vec/is/sf/impls/basic/neighbor/
H A Dsfneighbor.c194 const PetscInt *rootoffset, *leafoffset; in PetscSFSetUp_Neighbor() local
201 PetscCall(PetscSFGetRootInfo_Basic(sf, &nrootranks, &ndrootranks, NULL, &rootoffset, NULL)); in PetscSFSetUp_Neighbor()
221 dat->rootdispls[j] = rootoffset[i] - rootoffset[ndrootranks]; in PetscSFSetUp_Neighbor()
222 dat->rootcounts[j] = rootoffset[i + 1] - rootoffset[i]; in PetscSFSetUp_Neighbor()
233 PetscCall(PetscMPIIntCast(rootoffset[i] - rootoffset[ndrootranks], &m)); in PetscSFSetUp_Neighbor()
235 PetscCall(PetscMPIIntCast(rootoffset[i + 1] - rootoffset[i], &n)); in PetscSFSetUp_Neighbor()