# ISBlockGetIndicesF90
Accesses the elements of an index set from Fortran90. The users should call ISBlockRestoreIndicesF90() after having looked at the indices.  The user should NOT change the indices. 
## Synopsis
```
ISBlockGetIndicesF90(IS x,{integer, pointer :: xx_v(:)},integer ierr)
```
Not collective


## Input Parameter

- ***x -*** index set



## Output Parameters

- ***xx_v -*** the Fortran90 pointer to the array
- ***ierr -*** error code
Example of Usage:


```none
    PetscInt, pointer xx_v(:)
    ....
    call ISBlockGetIndicesF90(x,xx_v,ierr)
    a = xx_v(3)
    call ISBlockRestoreIndicesF90(x,xx_v,ierr)
```





## See Also
 `ISBlockRestoreIndicesF90()`, `ISGetIndices()`, `ISRestoreIndices()`,
`ISRestoreIndices()`


## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/is/interface/index.c.html#ISBlockGetIndicesF90">src/vec/is/is/interface/index.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/is/tutorials/ex3f90.F90.html">src/vec/is/is/tutorials/ex3f90.F90.html</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
