* Re: [Bug-gsl] Feature request for ODE integrators
[not found] ` <1153488406.8749.40.camel@rdfa0117578.sylvania.com>
@ 2006-07-31 7:25 ` Brian Gough
0 siblings, 0 replies; only message in thread
From: Brian Gough @ 2006-07-31 7:25 UTC (permalink / raw)
To: Kostrun, Marijan; +Cc: gsl-discuss
At Fri, 21 Jul 2006 09:26:46 -0400,
Kostrun, Marijan wrote:
> I inspected the codes and have implemented them for my project rlabplus
> at http://rlabplus.sourceforge.net, however, the solution is not quite
> satisfactory.
> Let me explain why. Imagine you have ask for integration on the interval
> [t1,t2] but the NaN appears somewhere inside the interval. When gsl
> integrator hits NaN it does not integrate any further, an error flag is
> rised (from 0 to 2) and t1 is reset to its original value. I would like
> t1 to contain the last successful time and the array pointer the
> solution to the ODE at that time. This feature is implemented in other
> integrators, e.g., code ODE.F by Shampine and Gordon from netlib.
> If this is too complicated to implement, I will have to write the code
> to use some sort of bisection on the interval [t1,t2] to find the time
> up to which the integration can be performed.
Hello,
I think the only information that gsl_odeiv_evolve_apply can return
that it currently doesn't is the step size h that triggered the NaN. I
will modify it to do that. All the other information should be
available as it returns to the user after any successful single step.
--
best regards,
Brian Gough
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-07-31 7:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1150124618.8123.15.camel@rdfa0117578.sylvania.com>
[not found] ` <17552.16090.489386.922737@hp2.network-theory.co.uk>
[not found] ` <1153488406.8749.40.camel@rdfa0117578.sylvania.com>
2006-07-31 7:25 ` [Bug-gsl] Feature request for ODE integrators Brian Gough
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).