Lines Matching refs:sparseLeaves
9 PetscBool sparseLeaves; member
25 ctx->sparseLeaves = PETSC_FALSE; in GetOptions()
38 ctx->sparseLeaves = (PetscBool)(ctx->leaveStep != 1); in GetOptions()
136 if (ctx->sparseLeaves) PetscCall(PetscCalloc1(nLeaves + 1, &ilocal)); in CreateReferenceSF_Regular()
139 if (ctx->sparseLeaves) ilocal[j + 1] = ilocal[j] + ctx->leaveStep; in CreateReferenceSF_Regular()
188 if (ctx->sparseLeaves) PetscCall(PetscCalloc1(ctx->nsfs + 1, &lOffsets)); in CreateSFs_Irregular()
198 if (ctx->sparseLeaves) PetscCall(PetscCalloc1(nLeaves + 1, &ilocal)); in CreateSFs_Irregular()
202 if (ctx->sparseLeaves) ilocal[j + 1] = ilocal[j] + ctx->leaveStep; in CreateSFs_Irregular()
207 if (ctx->sparseLeaves) lOffsets[i + 1] = lOffsets[i] + ilocal[j]; in CreateSFs_Irregular()
230 if (ctx->sparseLeaves) PetscCall(PetscCalloc1(ctx->nsfs + 1, &lOffsets)); in CreateSFs_Regular()
239 if (ctx->sparseLeaves) { in CreateSFs_Regular()