petsc-3.7.1 2016-05-15
Report Typos and Errors

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 Many br

Input Parameter

x -index set Many br

Output Parameters

xx_v - the Fortran90 pointer to the array Many br
ierr - error code Many brExample of Usage: Many br
    PetscScalar, pointer xx_v(:)
    ....
    call ISBlockGetIndicesF90(x,xx_v,ierr)
    a = xx_v(3)
    call ISBlockRestoreIndicesF90(x,xx_v,ierr)
Many br

Notes

Not yet supported for all F90 compilers Many br

Many br

See Also

ISBlockRestoreIndicesF90(), ISGetIndices(), ISRestoreIndices(),
ISRestoreIndices() Many br

Level:intermediate
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

Examples

src/vec/is/is/examples/tutorials/ex3f90.F.html