help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling Octave from a Fortran Program


From: the_eggs
Subject: Calling Octave from a Fortran Program
Date: Wed, 15 Jun 2011 09:36:18 -0700 (PDT)

Hi all,

I've done some searching in the mailing list and on google and haven't found
an answer to my question. I'm using a modified version of Tinker (molecular
modelling software written in F77) to perform molecular dynamics
simulations. I have a vector containing a million points of data and am
using the data-smoothing package to smooth it and then I will do some
additional calculations with the smoothed data.

For various reasons I don't want to do the calculations post-processing
style and thus I need to call Octave from a subroutine within Tinker.

I need to do the following:
-set up a vector (x) with the numbers 1 to 1 000 000 using linspace
-read in a vector (y) containing my million points of data
-perform 'regdatasmooth' (which is part of the data-smoothing package) to
smooth my data
-output the smoothed data back to Fortran so I can perform perform some
calculations on it

I found one post that was related to this and received one response:

http://octave.1599824.n4.nabble.com/fortran-octave-td1603021.html

However, the response concerns calling Fortran from Octave and I want to
call Octave from Fortran, thus I am posting here.

Thanks in advance for any help.



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Calling-Octave-from-a-Fortran-Program-tp3599927p3599927.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]