[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] [bug #30540] please, add convergence checks in rk4imp/rk2imp
From: |
Sergey B Kirpichev |
Subject: |
[Bug-gsl] [bug #30540] please, add convergence checks in rk4imp/rk2imp |
Date: |
Sat, 24 Jul 2010 12:15:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en; rv:1.9.0.19) Gecko/20080528 Epiphany/2.22 |
URL:
<http://savannah.gnu.org/bugs/?30540>
Summary: please, add convergence checks in rk4imp/rk2imp
Project: GNU Scientific Library
Submitted by: skirpichev
Submitted on: Сбт 24 Июл 2010 12:15:06
Category: Accuracy problem
Severity: 3 - Normal
Operating System:
Status: None
Assigned to: None
Open/Closed: Open
Release:
Discussion Lock: Any
_______________________________________________________
Details:
Quote from http://lists.gnu.org/archive/html/help-gsl/2009-12/msg00047.html
--->8---
It seems, for example, the 2 stages Gauss points are only iterate 3 steps,
without checking whether it is converged or not.
The reason I care about this is, Implicit Gauss RK4 is symplectic, which for
Hamiltonian Dynamics simulation is a very important property, it has better
conservation of the first integral.
--->8---
Attached example code (bug.c) for Henon-Heiles problem shows the linear error
grow in the Hamiltonian. Compare with correct behavior for patched solvers
(rk2imp.png/rk4imp.png).
Please, review attached patch, targeted to solve the problem.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Сбт 24 Июл 2010 12:15:06 Name: bug.c Size: 2kB By: skirpichev
<http://savannah.gnu.org/bugs/download.php?file_id=21050>
-------------------------------------------------------
Date: Сбт 24 Июл 2010 12:15:06 Name: rk2imp.png Size: 16kB By:
skirpichev
<http://savannah.gnu.org/bugs/download.php?file_id=21051>
-------------------------------------------------------
Date: Сбт 24 Июл 2010 12:15:06 Name: rk4imp.png Size: 13kB By:
skirpichev
<http://savannah.gnu.org/bugs/download.php?file_id=21052>
-------------------------------------------------------
Date: Сбт 24 Июл 2010 12:15:06 Name:
0001-Add-convergence-checks-for-rk-imp.patch Size: 9kB By: skirpichev
<http://savannah.gnu.org/bugs/download.php?file_id=21053>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30540>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gsl] [bug #30540] please, add convergence checks in rk4imp/rk2imp,
Sergey B Kirpichev <=