petsc-3.7.7 2017-09-25
Report Typos and Errors

ISPartitioningToNumbering

Takes an ISPartitioning and on each processor generates an IS that contains a new global node number for each index based on the partitioing.

Synopsis

#include "petscis.h"  
PetscErrorCode  ISPartitioningToNumbering(IS part,IS *is)
Collective on IS

Input Parameters

partitioning -a partitioning as generated by MatPartitioningApply()

Output Parameter

is -on each processor the index set that defines the global numbers (in the new numbering) for all the nodes currently (before the partitioning) on that processor

See Also

MatPartitioningCreate(), AOCreateBasic(), ISPartitioningCount()

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

Examples

src/ksp/ksp/examples/tutorials/ex64.c.html