Lines Matching refs:ilocal
30 …etGraphLayout(PetscSF sf, PetscLayout layout, PetscInt nleaves, PetscInt ilocal[], PetscCopyMode l… in PetscSFSetGraphLayout() argument
40 if (nleaves > 0 && ilocal) PetscAssertPointer(ilocal, 4); in PetscSFSetGraphLayout()
59 PetscCall(PetscSFSetGraph(sf, nroots, nleaves, ilocal, localmode, remote, PETSC_OWN_POINTER)); in PetscSFSetGraphLayout()
86 …yout(PetscSF sf, PetscLayout *layout, PetscInt *nleaves, const PetscInt *ilocal[], PetscInt *gremo… in PetscSFGetGraphLayout() argument
96 if (ilocal) PetscAssertPointer(ilocal, 4); in PetscSFGetGraphLayout()
98 PetscCall(PetscSFGetGraph(sf, &nr, &nl, ilocal, &ir)); in PetscSFGetGraphLayout()
569 PetscInt *lidxs, *work = NULL, *ilocal; in PetscLayoutMapLocal() local
581 PetscCall(PetscMalloc1(N, &ilocal)); in PetscLayoutMapLocal()
592 ilocal[nleaves] = r; in PetscLayoutMapLocal()
596 PetscCall(PetscSFSetGraph(sf, n, nleaves, ilocal, PETSC_OWN_POINTER, ridxs, PETSC_OWN_POINTER)); in PetscLayoutMapLocal()
734 PetscInt *ilocal, nleaves, N, n, i; in PetscSFCreateByMatchingIndices() local
803 PetscCall(PetscMalloc1(nleaves, &ilocal)); in PetscSFCreateByMatchingIndices()
807 ilocal[nleaves] = leafLocalOffset + i; in PetscSFCreateByMatchingIndices()
816 PetscCall(PetscMalloc1(nleaves, &ilocal)); in PetscSFCreateByMatchingIndices()
817 …for (i = 0; i < nleaves; ++i) ilocal[i] = leafLocalOffset + (leafLocalIndices ? leafLocalIndices[i… in PetscSFCreateByMatchingIndices()
822 …PetscCall(PetscSFSetGraph(*sf, rootLocalOffset + numRootIndices, nleaves, ilocal, PETSC_OWN_POINTE… in PetscSFCreateByMatchingIndices()
932 const PetscInt *ilocal; in PetscSFCreateStridedSF() local
951 PetscCall(PetscSFGetGraph(sf, &nr, &nl, &ilocal, &iremote)); in PetscSFCreateStridedSF()
989 vilocal[v * nl + i] = v * ldl + (ilocal ? ilocal[i] : i); in PetscSFCreateStridedSF()