[Top][All Lists]

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

[Bug-gsl] [bug #30947] Please, include fixed step size control object fo

From: Sergey B Kirpichev
Subject: [Bug-gsl] [bug #30947] Please, include fixed step size control object for ode suite
Date: Sun, 01 May 2011 11:16:21 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; ru-ru) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

Follow-up Comment #2, bug #30947 (project gsl):

> one important reason for the evolve level functions is to allow
> for variable step size.

No.  Just to allow adaptive step size control.  Why don't
consider the *evolve_apply with fixed step as just a special case?

> If you really require a fixed step size for the stepper level, then
> you can use the for loop around step_apply function shown in the manual.

Of cource, I can (it WAS noted in bugreport).  Sometimes it's just not
convinient, e.g. to use _different loops_ for fixed and variable step sizes.

> Also, I'm afraid that using your cfxd may not guarantee the use of a
> fixed step size; also evolve_apply can change the step length,
> so you might have to have a function something like
> "evolve_apply_fixed_step_size" to do the job.

Why?  fc_control_hadjust() always returns GSL_ODEIV_HADJ_NIL - there
is no reason to change step size.

See also thread in bug-gsl:


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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