From: Brian Gough <bjg@network-theory.co.uk>
To: Tuomo Keskitalo <Tuomo.Keskitalo@iki.fi>
Cc: gsl-discuss@sourceware.org
Subject: Re: GSL ode-initval development
Date: Mon, 18 Aug 2008 18:11:00 -0000 [thread overview]
Message-ID: <m3fxp2ry88.wl%bjg@network-theory.co.uk> (raw)
In-Reply-To: <48A7E377.3020607@iki.fi>
At Sun, 17 Aug 2008 11:38:15 +0300,
Tuomo Keskitalo wrote:
> Implicit solvers result in a group of algebraic non-linear
> equations, for which there exists several solution strategies. The
> choice of the efficient strategy depends on the problem. For
> example, some modified Newton iteration methods are suitable for
> stiff systems, while functional iteration works for non-stiff
> systems. I would like to give the user the freedom to choose the
> non-linear eq solver separately from the stepping method. Does
> anyone see a way to do this with current framework?
If it is only a small number (and they don't need any additional
parameters) then it's simplest to use the existing framework with
explicit names for each combination, e.g. gsl_odeiv_step_foo_newt,
gsl_odeiv_step_foo_imp, etc
We mainly need additional stiff solvers, so in practical terms the
functional iteration case probably isn't needed -- the non-stiff case
should be covered adequately by the existing RK-type rules.
Of course, in terms of internal implementation it's better to have the
methods interchangeable and it is worth implementing it that way if
it's not too complicated -- but in terms of exposing them to the user
I don't think it's necessary to have all the permutations.
> I am currently considering to add a new framework part for specifying
> the non-linear equation solver. However, this would break the
> current framework. I wonder if I should write a separate
> "ode-initval2" library because of this. Any comments?
In terms of testing and being useful in existing code, it's a lot
easier to go with the current framework.
--
Brian Gough
next prev parent reply other threads:[~2008-08-18 18:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-17 8:39 Tuomo Keskitalo
2008-08-18 18:11 ` Brian Gough [this message]
2008-08-31 7:26 ` Tuomo Keskitalo
2008-09-02 19:08 ` ode-initval stepper logic Tuomo Keskitalo
2008-09-03 10:58 ` GSL ode-initval development Brian Gough
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3fxp2ry88.wl%bjg@network-theory.co.uk \
--to=bjg@network-theory.co.uk \
--cc=Tuomo.Keskitalo@iki.fi \
--cc=gsl-discuss@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).