Fortran 90 Pointer Types
A Fortran 90 pointer type points to scalar or array types.
TotalView implicitly handles slicing operations that set up a pointer or assumed shape subroutine argument so that the indices and values it displays in the Local Variables view and Data View are the same as in the code. For example, this code sets up and assigns an array and a pointer to that array:
integer, target, dimension(5,2:10) :: ia21,ia22
integer, pointer, dimension(:,:) :: ip21, ip22
ip21 => ia21(::2, ::2)
Figure 56 displays the original array ia21 and its pointer ip21 in the Data View.
Figure 57 illustrates the pointer
ip21 representing a slice of the
ia21 array after the assignment of the pointer.