:orphan: # ISGetSize Returns the global length of an index set. ## Synopsis ``` #include "petscis.h" PetscErrorCode ISGetSize(IS is, PetscInt *size) ``` Not Collective ## Input Parameter - ***is -*** the index set ## Output Parameter - ***size -*** the global size ## See Also `IS`, `ISSetSize()` ## Level beginner ## Location src/vec/is/is/interface/index.c ## Examples src/ksp/ksp/tutorials/ex19.c
src/ts/tutorials/ex11.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/is/interface/index.c) [Index of all IS routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)