MatPartitioningHierarchicalSetNcoarseparts#
Set the number of coarse partitions produced by a hierarchical MatPartitioning.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatPartitioningHierarchicalSetNcoarseparts(MatPartitioning part, PetscInt ncoarseparts)
Logically Collective
Input Parameters#
part - the
MatPartitioningof typeMATPARTITIONINGHIERARCHncoarseparts - the number of coarse partitions
See Also#
MatPartitioning, MATPARTITIONINGHIERARCH, MatPartitioningHierarchicalSetNfineparts(), MatPartitioningHierarchicalGetCoarseparts()
Level#
advanced
Location#
src/mat/graphops/partition/impls/hierarchical/hierarchical.c
Examples#
src/mat/tests/ex193.c
src/mat/tests/ex82.c
src/mat/tests/ex83.c
src/ksp/ksp/tutorials/ex64.c
Index of all MatGraphOperations routines
Table of Contents for all manual pages
Index of all manual pages