Searched refs:mpart (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex31.c | 58 MatPartitioning mpart; in main() local 69 PetscCall(MatPartitioningCreate(PETSC_COMM_WORLD, &mpart)); in main() 70 PetscCall(MatPartitioningSetAdjacency(mpart, A)); in main() 72 PetscCall(MatPartitioningSetFromOptions(mpart)); in main() 73 PetscCall(MatPartitioningApply(mpart, &mis)); in main() 74 PetscCall(MatPartitioningDestroy(&mpart)); in main()
|
| H A D | ex30.c | 198 MatPartitioning mpart; in main() local 206 PetscCall(MatPartitioningCreate(PETSC_COMM_WORLD, &mpart)); in main() 207 PetscCall(MatPartitioningSetAdjacency(mpart, A)); in main() 209 PetscCall(MatPartitioningSetFromOptions(mpart)); in main() 210 PetscCall(MatPartitioningApply(mpart, &mis)); in main() 211 PetscCall(MatPartitioningDestroy(&mpart)); in main()
|
| /petsc/src/ksp/pc/impls/asm/ |
| H A D | asm.c | 1361 MatPartitioning mpart; in PCASMCreateSubdomains() local 1389 PetscCall(MatPartitioningCreate(PETSC_COMM_SELF, &mpart)); in PCASMCreateSubdomains() 1390 PetscCall(PetscObjectSetOptionsPrefix((PetscObject)mpart, prefix)); in PCASMCreateSubdomains() 1391 PetscCall(MatPartitioningSetFromOptions(mpart)); in PCASMCreateSubdomains() 1392 PetscCall(PetscObjectTypeCompare((PetscObject)mpart, MATPARTITIONINGCURRENT, &match)); in PCASMCreateSubdomains() 1393 … if (!match) PetscCall(PetscObjectTypeCompare((PetscObject)mpart, MATPARTITIONINGSQUARE, &match)); in PCASMCreateSubdomains() 1435 PetscCall(MatPartitioningSetAdjacency(mpart, adj)); in PCASMCreateSubdomains() 1436 PetscCall(MatPartitioningSetNParts(mpart, n)); in PCASMCreateSubdomains() 1437 PetscCall(MatPartitioningApply(mpart, &ispart)); in PCASMCreateSubdomains() 1444 PetscCall(MatPartitioningDestroy(&mpart)); in PCASMCreateSubdomains()
|
| /petsc/src/ksp/pc/impls/gasm/ |
| H A D | gasm.c | 1321 MatPartitioning mpart; in PCGASMCreateLocalSubdomains() local 1347 PetscCall(MatPartitioningCreate(PETSC_COMM_SELF, &mpart)); in PCGASMCreateLocalSubdomains() 1348 PetscCall(PetscObjectSetOptionsPrefix((PetscObject)mpart, prefix)); in PCGASMCreateLocalSubdomains() 1349 PetscCall(MatPartitioningSetFromOptions(mpart)); in PCGASMCreateLocalSubdomains() 1350 PetscCall(PetscObjectTypeCompare((PetscObject)mpart, MATPARTITIONINGCURRENT, &match)); in PCGASMCreateLocalSubdomains() 1351 … if (!match) PetscCall(PetscObjectTypeCompare((PetscObject)mpart, MATPARTITIONINGSQUARE, &match)); in PCGASMCreateLocalSubdomains() 1391 PetscCall(MatPartitioningSetAdjacency(mpart, adj)); in PCGASMCreateLocalSubdomains() 1392 PetscCall(MatPartitioningSetNParts(mpart, nloc)); in PCGASMCreateLocalSubdomains() 1393 PetscCall(MatPartitioningApply(mpart, &ispart)); in PCGASMCreateLocalSubdomains() 1400 PetscCall(MatPartitioningDestroy(&mpart)); in PCGASMCreateLocalSubdomains()
|
| /petsc/src/ksp/pc/impls/gamg/ |
| H A D | gamg.c | 270 MatPartitioning mpart; in PCGAMGCreateLevel_GAMG() local 273 PetscCall(MatPartitioningCreate(comm, &mpart)); in PCGAMGCreateLevel_GAMG() 274 PetscCall(MatPartitioningSetAdjacency(mpart, adj)); in PCGAMGCreateLevel_GAMG() 277 PetscCall(PetscObjectSetOptionsPrefix((PetscObject)mpart, prefix)); in PCGAMGCreateLevel_GAMG() 278 PetscCall(MatPartitioningSetFromOptions(mpart)); in PCGAMGCreateLevel_GAMG() 279 PetscCall(MatPartitioningSetNParts(mpart, new_size)); in PCGAMGCreateLevel_GAMG() 280 PetscCall(MatPartitioningApply(mpart, &proc_is)); in PCGAMGCreateLevel_GAMG() 281 PetscCall(MatPartitioningDestroy(&mpart)); in PCGAMGCreateLevel_GAMG()
|