Displaying Fortran TypesFortran variables don't readily lend themselves to transformation by C++View, but in some cases, such as when using a common block with Cray pointer variables, it is possible to set up a corresponding C structure and then use that type to push the transformation.
The Fortran include file foop.cmn sets up a common block
foo1 that corresponds to the C structure extern
foo1_, both in bold below.
The C code fortranTV.c defines structure extern
foo1_, aligned to the Fortran common block
foo1. Then, in the
TV_ttf_display_type routine for the struct
foo, the calls to
TV_ttf_add_row follow the layout of the data in the common block, allowing us to view the data as we want to see it