Lines Matching refs:iremote
43 …scSF sf, PetscInt *nroots, PetscInt *nleaves, const PetscInt **ilocal, const PetscSFNode **iremote) in PetscSFGetGraph_Alltoall() argument
51 if (iremote) { in PetscSFGetGraph_Alltoall()
60 *iremote = sf->remote; in PetscSFGetGraph_Alltoall()
68 PetscSFNode *iremote = NULL; in PetscSFCreateLocalSF_Alltoall() local
77 PetscCall(PetscMalloc1(nleaves, &iremote)); in PetscSFCreateLocalSF_Alltoall()
79 iremote[0].rank = 0; /* rank in PETSC_COMM_SELF */ in PetscSFCreateLocalSF_Alltoall()
80 iremote[0].index = rank; /* LocalSF is an embedded SF. Indices are not remapped */ in PetscSFCreateLocalSF_Alltoall()
83 …aph(lsf, nroots, nleaves, NULL /*contiguous leaves*/, PETSC_OWN_POINTER, iremote, PETSC_OWN_POINTE… in PetscSFCreateLocalSF_Alltoall()
92 PetscSFNode *iremote; in PetscSFCreateEmbeddedRootSF_Alltoall() local
129 PetscCall(PetscMalloc1(nleaves, &iremote)); in PetscSFCreateEmbeddedRootSF_Alltoall()
132 iremote[i].rank = leaves[i]; in PetscSFCreateEmbeddedRootSF_Alltoall()
133 iremote[i].index = leaves[i]; in PetscSFCreateEmbeddedRootSF_Alltoall()
137 …PetscCall(PetscSFSetGraph(esf, sf->nleaves, nleaves, ilocal, PETSC_OWN_POINTER, iremote, PETSC_OWN… in PetscSFCreateEmbeddedRootSF_Alltoall()