ISRestoreIndicesF90

Restores an index set to a usable state after a call to ISGetIndicesF90().

Synopsis

ISRestoreIndicesF90(IS x,{integer, pointer :: xx_v(:)},integer ierr)
Not collective

Input Parameters

x - index set
xx_v - the Fortran90 pointer to the array

Output Parameter

ierr - error code

Example of Usage

    PetscInt, pointer xx_v(:)
    ....
    call ISGetIndicesF90(x,xx_v,ierr)
    a = xx_v(3)
    call ISRestoreIndicesF90(x,xx_v,ierr)

Level: intermediate

See Also

ISGetIndicesF90(), ISGetIndices(), ISRestoreIndices()

Location:index.c