ISPartitioningCount

Takes a ISPartitioning and determines the number of resulting elements on each processor

Synopsis

#include "petscsys.h" 
#include "petscis.h"  
int ISPartitioningCount(IS part,int count[])
Collective on IS

Input Parameters

partitioning -a partitioning as generated by MatPartitioningApply()

Output Parameter

count -array of length size of communicator associated with IS, contains the number of elements assigned to each processor

See Also

MatPartitioningCreate(), AOCreateBasic(), ISPartitioningToNumbering()

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

Examples

src/sles/examples/tutorials/ex10.c.html
src/dm/ao/examples/tutorials/ex2.c.html