Lines Matching refs:fineparts_indices
37 const PetscInt *fineparts_indices, *coarseparts_indices;
214 PetscCall(ISGetIndices(hpart->fineparts, &fineparts_indices));
216 if (fineparts_indices[j] >= 0) fineparts_indices_tmp[j] = fineparts_indices[j];
218 PetscCall(ISRestoreIndices(hpart->fineparts, &fineparts_indices));
227 PetscCall(ISGetIndices(hpart->fineparts, &fineparts_indices));
232 for (j = 0; j < bs; j++) parts_indices[bs * i + j] = fineparts_indices[i] + offsets[coarseparts_indices[i]];
234 PetscCall(ISRestoreIndices(hpart->fineparts, &fineparts_indices));
245 const PetscInt *ranges, *fineparts_indices;
270 PetscCall(ISGetIndices(fineparts, &fineparts_indices));
281 PetscCall(PetscSFReduceBegin(sf, MPIU_INT, fineparts_indices, sfineparts_indices, MPI_REPLACE));
282 PetscCall(PetscSFReduceEnd(sf, MPIU_INT, fineparts_indices, sfineparts_indices, MPI_REPLACE));
284 PetscCall(ISRestoreIndices(fineparts, &fineparts_indices));