Timeline for SymplecticPartitionedRungeKutta shows strange error
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 13, 2015 at 15:47 | vote | accept | dmitry | ||
| Aug 13, 2015 at 23:28 | comment | added | Michael E2 | @DmitryGrinko That's what I got, and it seems wrong to me, too. But the change above is only called in the initialization stage, as far as I can tell. It has nothing to do with the actual integration of the system. So I don't think the divergence is because of my code (for example, cs does not even return a value). It might be because you chose a somewhat low WorkingPrecision combined with a small step size. In any case, FWIW, my first guess is that its a numerics issue. | |
| Aug 13, 2015 at 23:10 | comment | added | dmitry | at least now it's not throwing an error. Thanks for the reply. However, solution is not right. It must be oscillatory, but mine, using your code, is not. It exponentially diverges. | |
| Aug 13, 2015 at 14:02 | history | edited | Michael E2 | CC BY-SA 3.0 | Clarification |
| Aug 12, 2015 at 1:51 | history | edited | Michael E2 | CC BY-SA 3.0 | Clarification |
| Aug 11, 2015 at 20:24 | history | answered | Michael E2 | CC BY-SA 3.0 |