[Gsll-devel] How to pass a null pointer to apply-step
Hello, I am solving two coupled ODEs, one with respect to time, another to z. An element in the solution of the first ODE is used in the second one. So I have to use the lower-level apply-step function: (apply-step stepper time y step-size yerr dydt-in dydt-out) The gsl manual says dydt-in can be a null pointer. I wonder how to use null pointer in apply-step? Thank you. Leo -- H A P P Y H O L I D A Y S!
(cffi:null-pointer) I'm reminded that ODE is somewhat incomplete; we don't even have an example of apply-step. It would be nice if the user didn't have to reference foreign pointers directly, which is the case for most of the rest of GSLL. Liam On Sat, Feb 20, 2010 at 8:00 AM, Leo <sdl.web@gmail.com> wrote:
Hello,
I am solving two coupled ODEs, one with respect to time, another to z. An element in the solution of the first ODE is used in the second one. So I have to use the lower-level apply-step function:
(apply-step stepper time y step-size yerr dydt-in dydt-out)
The gsl manual says dydt-in can be a null pointer. I wonder how to use null pointer in apply-step? Thank you.
Leo
On 2010-02-20 14:54 +0000, Liam Healy wrote:
(cffi:null-pointer)
I'm reminded that ODE is somewhat incomplete; we don't even have an example of apply-step. It would be nice if the user didn't have to reference foreign pointers directly, which is the case for most of the rest of GSLL.
Liam
Many thanks for your answer. Leo
participants (2)
-
Leo
-
Liam Healy