TotalView User Guide : Part II: Debugging Tools and Tasks : Examining and Editing Data and Program Elements : Displaying Fortran Types : Viewing Fortran 90 User-Defined Types
Viewing Fortran 90 User-Defined Types
A Fortran 90 user-defined type is similar to a C structure. TotalView displays a user-defined type as type(name), which is the same syntax used in Fortran 90 to create a user-defined type. For example, the following code fragment defines a variable typ2 of type(whopper):
TYPE WHOPPER
LOGICAL, DIMENSION(ISIZE) :: FLAGS
DOUBLE PRECISION, DIMENSION(ISIZE) :: DPSA
DOUBLE PRECISION, DIMENSION(:), POINTER :: DPPA
END TYPE WHOPPER
TYPE(WHOPPER), DIMENSION(:), ALLOCATABLE :: TYP2
TotalView displays this type, as shown in Figure 130.  
Figure 130: Fortran 90 User-Defined Type