[Thread Prev][Thread Next][Index]

External Functions and C




This explanation from Jon may be of interest to others. Thanks, Jon.

Emilio


---------- Forwarded message ----------
Date: Tue, 15 Jun 1999 10:43:19 -0700
From: Jonathan Callahan <callahan@pmel.noaa.gov>
To: Emilio Mayorga <emiliom@u.washington.edu>
Cc: Ansley Manke <ansley@pmel.noaa.gov>
Subject: Re: External Functions FFT demo   -- once more

Emilio,

The interface to external functions is written for Fortran, but this
shouldn't prevent you from using C code to do your calculations.  You
only need to write the outline of your function in Fortran and then you
can pass pointers to the data and result to some C subroutine which will
be called from the ~_compute function.  If you've written code which
called C from Fortran before, it should be straightforward.


-- Jon



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement