| /petsc/src/mat/graphops/partition/ |
| H A D | partition.c | 9 static PetscErrorCode MatPartitioningApply_Current(MatPartitioning part, IS *partitioning) in MatPartitioningApply_Current() argument 24 PetscCall(ISCreateStride(PetscObjectComm((PetscObject)part), m, rank, 0, partitioning)); in MatPartitioningApply_Current() 31 static PetscErrorCode MatPartitioningApply_Average(MatPartitioning part, IS *partitioning) in MatPartitioningApply_Average() argument 54 …(ISCreateGeneral(PetscObjectComm((PetscObject)part), m, indices, PETSC_OWN_POINTER, partitioning)); in MatPartitioningApply_Average() 58 static PetscErrorCode MatPartitioningApply_Square(MatPartitioning part, IS *partitioning) in MatPartitioningApply_Square() argument 77 …eneral(PetscObjectComm((PetscObject)part), rend - rstart, color, PETSC_OWN_POINTER, partitioning)); in MatPartitioningApply_Square() 208 PetscErrorCode MatPartitioningGetType(MatPartitioning partitioning, MatPartitioningType *type) in MatPartitioningGetType() argument 211 PetscValidHeaderSpecific(partitioning, MAT_PARTITIONING_CLASSID, 1); in MatPartitioningGetType() 213 *type = ((PetscObject)partitioning)->type_name; in MatPartitioningGetType() 260 PetscErrorCode MatPartitioningApplyND(MatPartitioning matp, IS *partitioning) in MatPartitioningApplyND() argument [all …]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | MatPartitioning.pyx | 4 """The partitioning types.""" 18 """Object for managing the partitioning of a matrix or graph.""" 30 """View the partitioning data structure. 50 """Destroy the partitioning context. 63 """Create a partitioning context. 101 """Return the partitioning method. 144 def apply(self, IS partitioning) -> None: argument 145 """Return a partitioning for the graph represented by a sparse matrix. 157 CHKERR(MatPartitioningApply(self.part, &partitioning.iset))
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex24.c | 17 char partitioning[64]; member 32 …PetscCall(PetscStrncpy(options->partitioning, MATPARTITIONINGPARMETIS, sizeof(options->partitionin… in ProcessOptions() 33 …artitioning type to test", "None", options->partitioning, options->partitioning, sizeof(options->p… in ProcessOptions() 99 …PetscCall(PetscStrncmp(user.partitioning, PETSCPARTITIONERPTSCOTCH, sizeof(PETSCPARTITIONERPTSCOTC… in main() 110 PetscCall(PetscPartitionerSetType(part1, user.partitioning)); in main() 121 PetscCall(MatPartitioningSetType(mp, user.partitioning)); in main() 133 …Call(PetscPrintf(comm, "ISs are not equal with type %s with size %d.\n", user.partitioning, size)); in main() 143 …PetscPrintf(comm, "PetscSections are not equal with %s with size %d.\n", user.partitioning, size)); in main() 170 …ll(PetscPrintf(comm, "Distributed DMs are not equal %s with size %d.\n", user.partitioning, size)); in main()
|
| /petsc/src/mat/graphops/partition/impls/pmetis/ |
| H A D | pmetis.c | 38 …pply_Parmetis_Private(MatPartitioning part, PetscBool useND, PetscBool isImprove, IS *partitioning) in MatPartitioningApply_Parmetis_Private() argument 48 PetscAssertPointer(partitioning, 4); in MatPartitioningApply_Parmetis_Private() 87 PetscValidHeaderSpecific(*partitioning, IS_CLASSID, 4); in MatPartitioningApply_Parmetis_Private() 88 PetscCall(ISGetIndices(*partitioning, &part_indices)); in MatPartitioningApply_Parmetis_Private() 90 PetscCall(ISRestoreIndices(*partitioning, &part_indices)); in MatPartitioningApply_Parmetis_Private() 91 PetscCall(ISDestroy(partitioning)); in MatPartitioningApply_Parmetis_Private() 176 …tscObjectComm((PetscObject)part), bs * pmat->rmap->n, newlocals, PETSC_OWN_POINTER, partitioning)); in MatPartitioningApply_Parmetis_Private() 178 …neral(PetscObjectComm((PetscObject)part), pmat->rmap->n, locals, PETSC_OWN_POINTER, partitioning)); in MatPartitioningApply_Parmetis_Private() 189 …PetscCall(PetscObjectCompose((PetscObject)*partitioning, "_petsc_matpartitioning_ndorder", (PetscO… in MatPartitioningApply_Parmetis_Private() 193 …all(ISCreateGeneral(PetscObjectComm((PetscObject)part), 0, NULL, PETSC_COPY_VALUES, partitioning)); in MatPartitioningApply_Parmetis_Private() [all …]
|
| /petsc/src/dm/impls/plex/tests/output/ |
| H A D | ex24_3.out | 7 using partitioning strategy DEFAULT 27 using partitioning strategy DEFAULT 47 using partitioning strategy DEFAULT 67 using partitioning strategy DEFAULT
|
| H A D | ex1_part_ptscotch_0.out | 13 using partitioning strategy QUALITY 31 using partitioning strategy QUALITY
|
| /petsc/src/dm/partitioner/tests/output/ |
| H A D | ex33_ptscotch_nsize-1_nparts-2_pwgts-true.out | 8 using partitioning strategy DEFAULT 29 using partitioning strategy DEFAULT 54 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-1_nparts-2_pwgts-false.out | 8 using partitioning strategy DEFAULT 29 using partitioning strategy DEFAULT 54 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-1_nparts-1_pwgts-true.out | 8 using partitioning strategy DEFAULT 28 using partitioning strategy DEFAULT 52 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-1_nparts-3_pwgts-true.out | 8 using partitioning strategy DEFAULT 30 using partitioning strategy DEFAULT 56 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-1_nparts-3_pwgts-false.out | 8 using partitioning strategy DEFAULT 30 using partitioning strategy DEFAULT 56 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-1_nparts-1_pwgts-false.out | 8 using partitioning strategy DEFAULT 28 using partitioning strategy DEFAULT 52 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-2_nparts-1_pwgts-false.out | 9 using partitioning strategy DEFAULT 33 using partitioning strategy DEFAULT 61 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-2_nparts-1_pwgts-true.out | 9 using partitioning strategy DEFAULT 33 using partitioning strategy DEFAULT 61 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-2_nparts-2_pwgts-false.out | 9 using partitioning strategy DEFAULT 35 using partitioning strategy DEFAULT 65 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-2_nparts-2_pwgts-true.out | 9 using partitioning strategy DEFAULT 35 using partitioning strategy DEFAULT 65 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-3_nparts-1_pwgts-true.out | 10 using partitioning strategy DEFAULT 38 using partitioning strategy DEFAULT 74 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-2_nparts-3_pwgts-false.out | 9 using partitioning strategy DEFAULT 37 using partitioning strategy DEFAULT 69 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-3_nparts-1_pwgts-false.out | 10 using partitioning strategy DEFAULT 38 using partitioning strategy DEFAULT 74 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-2_nparts-3_pwgts-true.out | 9 using partitioning strategy DEFAULT 37 using partitioning strategy DEFAULT 69 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-3_nparts-2_pwgts-true.out | 10 using partitioning strategy DEFAULT 41 using partitioning strategy DEFAULT 80 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-3_nparts-2_pwgts-false.out | 10 using partitioning strategy DEFAULT 41 using partitioning strategy DEFAULT 80 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-3_nparts-3_pwgts-false.out | 10 using partitioning strategy DEFAULT 44 using partitioning strategy DEFAULT 86 using partitioning strategy DEFAULT
|
| H A D | ex33_ptscotch_nsize-3_nparts-3_pwgts-true.out | 10 using partitioning strategy DEFAULT 44 using partitioning strategy DEFAULT 86 using partitioning strategy DEFAULT
|
| /petsc/src/mat/graphops/partition/impls/scotch/ |
| H A D | scotch.c | 261 …Code MatPartitioningApply_PTScotch_Private(MatPartitioning part, PetscBool useND, IS *partitioning) in MatPartitioningApply_PTScotch_Private() argument 415 … PetscCall(ISCreateGeneral(pcomm, bs * mat->rmap->n, newlocals, PETSC_OWN_POINTER, partitioning)); in MatPartitioningApply_PTScotch_Private() 417 PetscCall(ISCreateGeneral(pcomm, mat->rmap->n, locals, PETSC_OWN_POINTER, partitioning)); in MatPartitioningApply_PTScotch_Private() 428 …PetscCall(PetscObjectCompose((PetscObject)*partitioning, "_petsc_matpartitioning_ndorder", (PetscO… in MatPartitioningApply_PTScotch_Private() 436 static PetscErrorCode MatPartitioningApply_PTScotch(MatPartitioning part, IS *partitioning) in MatPartitioningApply_PTScotch() argument 439 PetscCall(MatPartitioningApply_PTScotch_Private(part, PETSC_FALSE, partitioning)); in MatPartitioningApply_PTScotch() 443 static PetscErrorCode MatPartitioningApplyND_PTScotch(MatPartitioning part, IS *partitioning) in MatPartitioningApplyND_PTScotch() argument 446 PetscCall(MatPartitioningApply_PTScotch_Private(part, PETSC_TRUE, partitioning)); in MatPartitioningApplyND_PTScotch()
|