Home
last modified time | relevance | path

Searched refs:leafoffset (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
38 … PetscCall(PetscSFGetLeafInfo_Basic(sf, &nleafranks, &ndleafranks, NULL, &leafoffset, NULL, NULL)); in PetscSFLinkInitMPIRequests_Persistent_Basic()
41 disp = (leafoffset[i] - leafoffset[ndleafranks]) * link->unitbytes; in PetscSFLinkInitMPIRequests_Persistent_Basic()
42 cnt = leafoffset[i + 1] - leafoffset[i]; in PetscSFLinkInitMPIRequests_Persistent_Basic()
47 disp = (leafoffset[i] - leafoffset[ndleafranks]) * link->unitbytes; in PetscSFLinkInitMPIRequests_Persistent_Basic()
48 cnt = leafoffset[i + 1] - leafoffset[i]; in PetscSFLinkInitMPIRequests_Persistent_Basic()
102 const PetscInt *rootoffset, *leafoffset; in PetscSFLinkStartCommunication_MPIX_Stream() local
129 … PetscCall(PetscSFGetLeafInfo_Basic(sf, &nleafranks, &ndleafranks, NULL, &leafoffset, NULL, NULL)); in PetscSFLinkStartCommunication_MPIX_Stream()
132 disp = (leafoffset[i] - leafoffset[ndleafranks]) * link->unitbytes; in PetscSFLinkStartCommunication_MPIX_Stream()
133 cnt = (PetscMPIInt)(leafoffset[i + 1] - leafoffset[i]); in PetscSFLinkStartCommunication_MPIX_Stream()
[all …]
H A Dsfbasic.h53 …scMPIInt *ndleafranks, const PetscMPIInt **leafranks, const PetscInt **leafoffset, const PetscInt … in PetscSFGetLeafInfo_Basic() argument
59 if (leafoffset) *leafoffset = sf->roffset; in PetscSFGetLeafInfo_Basic()
/petsc/src/vec/is/sf/impls/basic/neighbor/
H A Dsfneighbor.c194 const PetscInt *rootoffset, *leafoffset; in PetscSFSetUp_Neighbor() local
202 PetscCall(PetscSFGetLeafInfo_Basic(sf, &nleafranks, &ndleafranks, NULL, &leafoffset, NULL, NULL)); in PetscSFSetUp_Neighbor()
227 dat->leafdispls[j] = leafoffset[i] - leafoffset[ndleafranks]; in PetscSFSetUp_Neighbor()
228 dat->leafcounts[j] = leafoffset[i + 1] - leafoffset[i]; in PetscSFSetUp_Neighbor()
241 PetscCall(PetscMPIIntCast(leafoffset[i] - leafoffset[ndleafranks], &m)); in PetscSFSetUp_Neighbor()
243 PetscCall(PetscMPIIntCast(leafoffset[i + 1] - leafoffset[i], &n)); in PetscSFSetUp_Neighbor()