Skip to main content
6 events
when toggle format what by license comment
Apr 18, 2019 at 9:44 vote accept woeterb
Apr 16, 2019 at 22:44 comment added uhoh Oh, except feel free to accept your own answer! It best describes the solution to your question.
Apr 16, 2019 at 22:27 comment added uhoh Try an examination of the specific values you use. The effect of the two will be different because one is normalized and the other isn't. It's not enough to say you used or didn't use the parameter, you need to optimize the value of the parameter. They will both have an impact, and if you just set them equal one may have an impact at a different value than the other, but there's no reason to set them to the same value. Good luck, over and out!
Apr 16, 2019 at 17:51 comment added woeterb @uhoh Turns out when I specify RelTol only, accuracy is only down to 10^(-2). Specifying AbsTol as well gives 10^(-6) accuracy. You're right about the scaling to show the deviation, but the goal was to reproduce the figure in the article. Therefore, fixing the axis suffices.
Apr 16, 2019 at 17:39 comment added uhoh Very nice answer and great news! I would stick to specifying rtol only. Absolute tolerance or atol is awkward to use when you have numbers with physical units. rtol is all you need. Also, see if you can find a way to let the vertical axis of angular momentum autoscale so that you can always see how big the deviation is. By fixing it to [2999 to 3001] you can't see what's going on.
Apr 16, 2019 at 17:28 history answered woeterb CC BY-SA 4.0