petsc-3.7.1 2016-05-15
Report Typos and Errors

ISPartitioningCount

Takes a ISPartitioning and determines the number of resulting elements on each (partition) process

Synopsis

#include "petscis.h"  
PetscErrorCode  ISPartitioningCount(IS part,PetscInt len,PetscInt count[])
Collective on IS Many br

Input Parameters

partitioning - a partitioning as generated by MatPartitioningApply() Many br
len - length of the array count, this is the total number of partitions Many br

Output Parameter

count -array of length size, to contain the number of elements assigned Many brto each partition, where size is the number of partitions generated Many br(see notes below). Many br

Many br

Notes

By default the number of partitions generated (and thus the length Many brof count) is the size of the communicator associated with IS, Many brbut it can be set by MatPartitioningSetNParts. The resulting array Many brof lengths can for instance serve as input of PCBJacobiSetTotalBlocks. Many br

See Also

MatPartitioningCreate(), AOCreateBasic(), ISPartitioningToNumbering(),
MatPartitioningSetNParts(), MatPartitioningApply() Many br

Level:advanced
Location:
src/vec/is/is/utils/iscoloring.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages