help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] Setting maximum step size in ode solvers


From: Jochen Küpper
Subject: Re: [Help-gsl] Setting maximum step size in ode solvers
Date: Tue, 13 Jun 2006 21:14:28 +0200

"Bernard Siow" <address@hidden> writes:

> Thanks for the info. What happens to the actual step size, h, when the
> time interval, ti, is set to a value lower than h?

Read the source, Luke;)

,----[gsl_odeiv_evolve_apply]
[...]
|  double h0 = *h;
[...]
|   if ((dt >= 0.0 && h0 > dt) || (dt < 0.0 && h0 < dt))
|     {
|       h0 = dt;
|       final_step = 1;
|     }
[...]
|  *h = h0;  /* suggest step size for next time-step */
[...]
`----

Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        (Part 3 you find in my messages before fall 2003.)




reply via email to

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