comp.lang.ada
 help / color / mirror / Atom feed
From: paus@ifr.luftfahrt.uni-stuttgart.de
Subject: Re: Another SBIR, and Ada is still missing in action
Date: 9 Feb 1995 16:47:36 GMT
Date: 1995-02-09T16:47:36+00:00	[thread overview]
Message-ID: <3hdgv8$tjn@info4.rus.uni-stuttgart.de> (raw)
In-Reply-To: WOODRUFF.95Feb7163258@neux2.addvax.llnl.gov

In article <WOODRUFF.95Feb7163258@neux2.addvax.llnl.gov> woodruff@neux2.addvax.llnl.gov  
(John Woodruff) writes:
> The ODE integrators that I experienced a few years ago required that
> the integrand be a function defined on a range between T and (T+h) that
> could be called non-determininistically by the integrator. This poses a
> problem unless the linker can be pursuaded to invoke an Ada subprogram
> from within a Fortran subprogram.  

We do that all the time and never had a problem with that. The only
difficulty with GNAT at the moment is that pragma Export is not yet
supported, but with a little glue code it is no problem to interface
Ada and Fortran in such a way that Fortran is calling Ada routines.
We have a large trajectory optimization program written in Fortran where
the user has to provide some low level routines which define the equations
of motion (which are then integrated internally). I have developed an Ada
binding for this program, so that the user can now specify these routines
in Ada without even noticing that the bulk of the program is not in Ada.
This runs perfectly with GNAT. So there is absolutely no excuse for not
using Ada and GNAT.

Michael

--
|----------------------------------------------------------------------|
|Dipl.-Ing. Michael Paus   (Member: Team Ada)                          |
|University of Stuttgart, Inst. of Flight Mechanics and Flight Control |
|Forststrasse 86, 70176 Stuttgart, Germany                             |
|Phone: (+49) 711-121-1434  FAX: (+49) 711-634856                      |
|Email: Michael.Paus@ifr.luftfahrt.uni-stuttgart.de (NeXT-Mail welcome)|



  parent reply	other threads:[~1995-02-09 16:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <D3EoEG.Jxu@world.std.com>
1995-02-06 21:43 ` Another SBIR, and Ada is still missing in action Matt Kennel
1995-02-07 17:47   ` David Weller
1995-02-08  1:30     ` Matt Kennel
1995-02-07 20:10   ` Robert Dewar
1995-02-08  0:32     ` John Woodruff
1995-02-08  3:06       ` Richard Kenner
1995-02-09  4:43       ` Robert Dewar
1995-02-09 16:47       ` paus [this message]
1995-02-09  2:16     ` David Weller
1995-02-11 13:50       ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox