From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f1da96f850fa2d93 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-02-11 02:10:41 PST Path: swrinde!howland.reston.ans.net!news.sprintlink.net!uunet!in1.uu.net!easix!gtnduss1.du.gtn.com!news.uni-stuttgart.de!news From: paus@ifr.luftfahrt.uni-stuttgart.de Newsgroups: comp.lang.ada Subject: Re: Another SBIR, and Ada is still missing in action Date: 9 Feb 1995 16:47:36 GMT Organization: Comp.Center (RUS), U of Stuttgart, FRG Distribution: world Message-ID: <3hdgv8$tjn@info4.rus.uni-stuttgart.de> References: Reply-To: paus@ifr.luftfahrt.uni-stuttgart.de NNTP-Posting-Host: ifr16.luftfahrt.uni-stuttgart.de Date: 1995-02-09T16:47:36+00:00 List-Id: In article 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)|