comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: dlmform
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: dlmform [message #36071 is a reply to message #36069] Tue, 19 August 2003 10:44 Go to previous message
Stein Vidar Hagfors H[2] is currently offline  Stein Vidar Hagfors H[2]
Messages: 28
Registered: October 2002
Junior Member
Reimar Bauer <R.Bauer@fz-juelich.de> writes:

> Dear all,
>
> I found Stein Vidar'S dlmform for f77 programs, Does this work with f90/95
> too?

It depends.. the dlmform program uses the output of the program
ftnchek to parse the input types. If ftnchek works with f90/95, then
dlmform could also work, but only as long as the parameter
declarations look like f77.

Another neat way to use dlmform if you have a problem with a
particular vintage of fortran is to simply rewrite the header (nothing
else) of the procedure/function to f77, and use the C code generated
by dlmform for the real thing in fNN.

> Did someone already have this or a similiar tool translated for c sources?

Again, by writing an f77 template for the function, there's no real
need.

Note that all variables in fortran are passed by reference, though, so
some rewriting of the code may be needed. The pass-by-reference
quality of fortran is very handy for vectorization of scalar
procedures/functions.

--
------------------------------------------------------------ --------------
Stein Vidar Hagfors Haugan
ESA SOHO SOC/European Space Agency Science Operations Coordinator for SOHO

NASA Goddard Space Flight Center, Tel.: 1-301-286-9028
Mail Code 682.3, Bld. 26, Room G-1, Cell: 1-240-354-6066
Greenbelt, Maryland 20771, USA. Fax: 1-301-286-0264
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Solving elliptic equation in IDL
Next Topic: Two questions (about Mpeg and Networking)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 09:47:37 PDT 2025

Total time taken to generate the page: 0.96801 seconds