New ODE methods: Euler, Improved Euler, Adams-Bashford-Moulton

alfonso_acosta_mail@yahoo.es alfonso_acosta_mail@yahoo.es
Sun Jun 6 22:58:00 GMT 2004


Hi:

We needed those methods for a college project and we implemented them 
with GSL, I know Euler and Improved Euler are merely didactic methods 
but maybe some students (like us) could avoid reinventing the wheel.

On the other hand, 4 step Adams-Bashford-Moulton method could be  usable 
in a real application. We used Runge-Kutta to obtain the remainig three 
initial steps.

I attached the 3 files just in case you want to include them in the GSL 
distribution

Cheers

Alfonso Acosta

PS: The three methods were tested without step control, so we are not 
sure wether the error we provide is correct or not.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abm.c
Type: text/x-csrc
Size: 8223 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gsl-discuss/attachments/20040606/a7cd3fb6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: euler.c
Type: text/x-csrc
Size: 3065 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gsl-discuss/attachments/20040606/a7cd3fb6/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eulerplus.c
Type: text/x-csrc
Size: 4082 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gsl-discuss/attachments/20040606/a7cd3fb6/attachment-0002.bin>


More information about the Gsl-discuss mailing list