Next: C++ interface to a
Up: BINDING C++ with FORTRAN90
Previous: Why
This calamity can be overcome, and a usable, flexible set of research
tools can be obtained, if we
- use C++ as the main framework and infrastructure
- create and operate on Fortran90 objects within Fortran90
subroutines/functions
- pass within C++ abstract pointers to Fortran90 objects
(data structures and methods).
This is the short recipe for combining both languages. So far it has
been successfully tested (in parallel) on an SGI PowerChallenge and on
an IBM SP-2 without any change to the source code. We will now present
two C++ interfaces, the first for a Fortran90 data structure and the
second for a Fortran90 operator.
Next: C++ interface to a
Up: BINDING C++ with FORTRAN90
Previous: Why
Stanford Exploration Project
11/11/1997