Liam, On Wed, May 04, 2011 at 10:20:42AM -0400, Liam Healy wrote: > Unless I'm misunderstanding this request, this is already possible, in > fact I'd regard it as the basic usage. Perhaps you are thrown off by > the with-ode-integration macro and example.
Great! I followed the example to begin with, so that was my starting point. > I made up this macro in order to easily accommodate the case of > non-array usage in the ODE solvers, because I wanted to show a simple > example with scalars. However if you look at how that macro expands, > there is a symbol #:DEP that is bound to a foreign array with the > appropriate dimensions: > > [ macro definition ] > > So what you want to do is mimic this form, but instead define your > foreign array directly. Is this what you're asking about? If it's an > issue of CL array vs. foreign array, then you can use #'cl-array or > just copy it over at the beginning and end. Thank you. I saw the way that DEP works within the macro, and I rewrote it a few times in an attempt to pass around the foreign array directly and use grid:gref inside my dynamics function. I guess I just need to try a few more different things (like I said, newbie here). > P.S. Please join the mailing list to post. Thank you. I joined when I got the `your message needs to be approved' mail; sorry. Matt _______________________________________________ GSLL-devel mailing list GSLL-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel