Lines Matching refs:ilocal
11 PetscInt *ilocal; member
24 ctx->ilocal = NULL; in GetOptions()
91 PetscInt *ilocal; in CreateSF0() local
95 PetscCall(PetscMalloc1(nLeaves + 1, &ctx->ilocal)); in CreateSF0()
97 ilocal = ctx->ilocal; in CreateSF0()
99 ilocal[nLeaves] = -ctx->leaveStep; in CreateSF0()
104 ilocal[j] = ilocal[j + 1] + ctx->leaveStep; in CreateSF0()
109 PetscCall(PetscSFSetGraph(sf, nroots, nLeaves, ilocal, ctx->localmode, iremote, ctx->remotemode)); in CreateSF0()
128 PetscInt *ilocal = NULL; in CreateSF1() local
135 ilocal = NULL; in CreateSF1()
136 if (!ctx->contiguousLeaves) PetscCall(PetscCalloc1(nLeaves + 1, &ilocal)); in CreateSF1()
142 if (!ctx->contiguousLeaves) ilocal[j + 1] = ilocal[j] + ctx->leaveStep; in CreateSF1()
148 …PetscCall(PetscSFSetGraph(sf, nroots, nLeaves, ilocal, PETSC_OWN_POINTER, iremote, PETSC_OWN_POINT… in CreateSF1()
176 if (ctx.localmode != PETSC_OWN_POINTER) PetscCall(PetscFree(ctx.ilocal)); in main()