ISEqualUnsorted#
Compares if two index sets have the same indices.
Synopsis#
#include "petscis.h"
PetscErrorCode ISEqualUnsorted(IS is1, IS is2, PetscBool *flg)
Collective on is1
Input Parameters#
is1, is2 - The index sets being compared
Output Parameters#
flg - output flag, either
PETSC_TRUE
(if both index sets have the same indices), orPETSC_FALSE
if the index sets differ by size or by the set of indices)
Note#
Unlike ISEqual(), this routine does NOT sort the contents of the index sets before the comparison is made, i.e., the order of indices is important.
Each MPI rank must have the same indices.
See Also#
Level#
intermediate
Location#
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages