ISInvertPermutation

Creates a new permutation that is the inverse of a given permutation.

Synopsis

#include "is.h" 
int ISInvertPermutation(IS is,int nlocal,IS *isout)
Collective on IS

Input Parameter

is - the index set
nlocal - number of indices on this processor in result (ignored for 1 proccessor) or use PETSC_DECIDE

Output Parameter

isout -the inverse permutation

Notes: this inverts the permutation on each processor independently.

Keywords

IS, index set, invert, inverse, permutation

Level:intermediate
Location:src/vec/is/interface/index.c
Index Set
Table of Contents