petsc-3.7.1 2016-05-15
Report Typos and Errors

ISSum

Computes the sum (union) of two index sets.

Synopsis

#include "petscis.h"  
PetscErrorCode  ISSum(IS is1,IS is2,IS *is3)
Only sequential version (at the moment) Many br

Input Parameter

is1 - index set to be extended Many br
is2 - index values to be added Many br

Output Parameter

is3 -the sum; this can not be is1 or is2 Many br

Notes

If n1 and n2 are the sizes of the sets, this takes O(n1+n2) time; Many br

Both index sets need to be sorted on input. Many br

Many br

See Also

ISDestroy(), ISView(), ISDifference(), ISExpand()

Level:intermediate
Location:
src/vec/is/is/utils/isdiff.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages