#include "petscis.h" PetscErrorCode ISRenumber(IS subset, IS subset_mult, PetscInt *N, IS *subset_n)Collective on IS
subset | - the index set | |
subset_mult | - the multiplicity of each entry in subset (optional, can be NULL) |
N | - the maximum entry of the new IS | |
subset_n | - the new IS |
Notes: All negative entries are mapped to -1. Indices with non positive multiplicities are skipped.