# TaoIndexSetGetPetscIS

If the TaoIndexSet is of the TaoIndexSetPetsc type, it gets the underlying PETSc IS

## Synopsis

    #include "tao.h"
    int TaoIndexSetGetPetscIS( TaoIndexSet *SS, IS * S)

## Input Parameter

| SS | - the TaoIndexSetPetsc
| S | - the address of an IS

## Output Parameter

S -the PETSc IS

## Note

This routine does not create a IS. It sets a pointer to the location of an existing IS.

## See Also

TaoVecGetPetscVec(), TaoMatGetPetscMat()

Level:advanced
Location:src/petsctao/indexset/taois_petsc.c
TAO Solver Index
Table of Contents