petsc-3.15.0 2021-03-30
MatPartitioningSetFromOptions
Sets various partitioning options from the options database.
Synopsis
#include "petscmat.h"
PetscErrorCode MatPartitioningSetFromOptions(MatPartitioning part)
Collective on MatPartitioning
Input Parameter
| part | - the partitioning context.
|
Options Database Command
-mat_partitioning_type <type>
Use -help for a list of available methods
(for instance, parmetis)
-mat_partitioning_nparts - number of subgraphs
Notes
If the partitioner has not been set by the user it uses one of the installed partitioner such as ParMetis. If there are
no installed partitioners it uses current which means no repartioning.
Level
beginner
Location
src/mat/partition/partition.c
Examples
src/mat/tutorials/ex11.c.html
src/mat/tutorials/ex15.c.html
src/mat/tutorials/ex17.c.html
src/mat/tutorials/ex15f.F90.html
src/mat/tutorials/ex17f.F90.html
src/ksp/ksp/tutorials/ex64.c.html
Index of all MatOrderings routines
Table of Contents for all manual pages
Index of all manual pages