Home
last modified time | relevance | path

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

/petsc/src/vec/is/sf/impls/basic/neighbor/
H A Dsfneighbor.c63 PetscMPIInt nrootranks, ndrootranks, nleafranks, ndleafranks; in PetscSFGetDistComm_Neighbor() local
68 …PetscCall(PetscSFGetRootInfo_Basic(sf, &nrootranks, &ndrootranks, &rootranks, NULL, NULL)); … in PetscSFGetDistComm_Neighbor()
70 indegree = nrootranks - ndrootranks; in PetscSFGetDistComm_Neighbor()
72 sources = PetscSafePointerPlusOffset(rootranks, ndrootranks); in PetscSFGetDistComm_Neighbor()
193 PetscMPIInt nrootranks, ndrootranks, nleafranks, ndleafranks; in PetscSFSetUp_Neighbor() local
201 PetscCall(PetscSFGetRootInfo_Basic(sf, &nrootranks, &ndrootranks, NULL, &rootoffset, NULL)); in PetscSFSetUp_Neighbor()
203 dat->rootdegree = m = (PetscMPIInt)(nrootranks - ndrootranks); in PetscSFSetUp_Neighbor()
220 for (PetscMPIInt i = ndrootranks, j = 0; i < nrootranks; i++, j++) { in PetscSFSetUp_Neighbor()
221 dat->rootdispls[j] = rootoffset[i] - rootoffset[ndrootranks]; in PetscSFSetUp_Neighbor()
232 for (PetscMPIInt i = ndrootranks, j = 0; i < nrootranks; i++, j++) { in PetscSFSetUp_Neighbor()
[all …]
/petsc/src/vec/is/sf/impls/basic/
H A Dsfbasic.h40 …cSFGetRootInfo_Basic(PetscSF sf, PetscMPIInt *nrootranks, PetscMPIInt *ndrootranks, const PetscMPI… in PetscSFGetRootInfo_Basic() argument
46 if (ndrootranks) *ndrootranks = bas->ndiranks; in PetscSFGetRootInfo_Basic()
H A Dsfbasic.c10 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()
23 disp = (rootoffset[i] - rootoffset[ndrootranks]) * link->unitbytes; in PetscSFLinkInitMPIRequests_Persistent_Basic()
28 for (PetscMPIInt i = ndrootranks, j = 0; i < nrootranks; i++, j++) { in PetscSFLinkInitMPIRequests_Persistent_Basic()
29 disp = (rootoffset[i] - rootoffset[ndrootranks]) * link->unitbytes; 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()
114 disp = (rootoffset[i] - rootoffset[ndrootranks]) * link->unitbytes; in PetscSFLinkStartCommunication_MPIX_Stream()
[all …]