Searched refs:fineparts_indices (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/graphops/partition/impls/hierarchical/ |
| H A D | hierarchical.c | 37 const PetscInt *fineparts_indices, *coarseparts_indices; in MatPartitioningApply_Hierarchical() local 214 PetscCall(ISGetIndices(hpart->fineparts, &fineparts_indices)); in MatPartitioningApply_Hierarchical() 216 if (fineparts_indices[j] >= 0) fineparts_indices_tmp[j] = fineparts_indices[j]; in MatPartitioningApply_Hierarchical() 218 PetscCall(ISRestoreIndices(hpart->fineparts, &fineparts_indices)); in MatPartitioningApply_Hierarchical() 227 PetscCall(ISGetIndices(hpart->fineparts, &fineparts_indices)); in MatPartitioningApply_Hierarchical() 232 …for (j = 0; j < bs; j++) parts_indices[bs * i + j] = fineparts_indices[i] + offsets[coarseparts_in… in MatPartitioningApply_Hierarchical() 234 PetscCall(ISRestoreIndices(hpart->fineparts, &fineparts_indices)); in MatPartitioningApply_Hierarchical() 245 const PetscInt *ranges, *fineparts_indices; in MatPartitioningHierarchical_ReassembleFineparts() local 270 PetscCall(ISGetIndices(fineparts, &fineparts_indices)); in MatPartitioningHierarchical_ReassembleFineparts() 281 PetscCall(PetscSFReduceBegin(sf, MPIU_INT, fineparts_indices, sfineparts_indices, MPI_REPLACE)); in MatPartitioningHierarchical_ReassembleFineparts() [all …]
|