petsc-3.11.4 2019-09-28
Report Typos and Errors

ISEqualUnsorted

Compares if two index sets have the same set of indices.

Synopsis

#include "petscis.h"  
PetscErrorCode  ISEqualUnsorted(IS is1,IS is2,PetscBool  *flg)
Collective on IS

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 does NOT sort the contents of the index sets before the comparision is made.

See Also

ISEqual()

Level

intermediate

Location

src/vec/is/is/utils/iscomp.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages