ISEqual
Compares if two index sets have the same set of indices.
Synopsis
int ISEqual(IS is1, IS is2, PetscTruth *flg)
Not Collective (Hmmm, that is a little strange, some processors may return true, others false)
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), or PETSC_FALSE if the index sets differ by size
or by the set of indices)
Note
This routine sorts the contents of the index sets
beforethe comparision is made, so the order of the indices is immaterial.
Keywords
IS, index set, equal
Location: src/is/utils/iscomp.c
IS and DA Index
Table of Contents