petsc-3.4.5 2014-06-29

ISDuplicate

Creates a duplicate copy of an index set.

Synopsis

#include "petscis.h" 
PetscErrorCode  ISDuplicate(IS is,IS *newIS)
Collective on IS

Input Parmeters

is -the index set

Output Parameters

isnew -the copy of the index set

Notes

ISDuplicate() does not copy the index set, but rather allocates storage for the new one. Use ISCopy() to copy an index set.

See Also

ISCreateGeneral(), ISCopy()

Level:beginner
Location:
src/vec/is/is/interface/index.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages