# I know about the convention of appending "_" to c routine names, but
# how do I access Fortran global variables in c?
You need to verify the details with your compiler vendors, but the
general idea is that
common /abc/ x,y,z
real x
integer y
complex z
corresponds to the global variable declaration
struct {
double x;
int y;
struct {double re,im;} z;
} abc;
with details varying with the system and compilers.
--
Derk Gwen
http://derkgwen.250free.com/html/index.html
Death is the worry of the living. The dead, like myself,
only worry about decay and necrophiliacs.