Editing A Symplectic Integrator

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
  
On [https://www.orbiter-forum.com/ Orbiter Forum], orbinaut Keithth G has described some of his results comparing the [[Orbiter|Orbiter Space Flight Simulator]] numerical integrator with one of his own. In response to a user question, he provided the following description of the principles underlying a symplectic numeric integrator.  
+
On Orbiter Forum, orbinaut Keithth G has described some of his results comparing the Orbiter numerical integrator with one of his own. In response to a user question, he provided the following description of the principles underlying a symplectic numeric integrator.  
  
 
== A second-order symplectic integrator ==
 
== A second-order symplectic integrator ==
Line 69: Line 69:
 
And that's about all there is to this this second-order symplectic integrator.  To integrate, one chooses a suitable small step-size (so that the overall errors are as small as some tolerance that you require for your calculations); one specifies the initial conditions of the object - its position and velocity - and then one repeatedly applies the integration step for as long as you wish.
 
And that's about all there is to this this second-order symplectic integrator.  To integrate, one chooses a suitable small step-size (so that the overall errors are as small as some tolerance that you require for your calculations); one specifies the initial conditions of the object - its position and velocity - and then one repeatedly applies the integration step for as long as you wish.
  
Now, for those interested, it is worthwhile setting up this integrator in, say, a spreadsheet and seeing how it performs under various sizes of time-steps. and initial conditions.  Of course, if there is more than one gravitating body, then you have additional terms in the force functions, but the basic scheme of the updating rule remains the same.
+
Now, for those interested, it is worthwhile setting up this integrator in, say, an spreadsheet and seeing how it performs under various sizes of time-steps. and initial conditions.  Of course, if there is more than one gravitating body, then you have additional terms in the force functions, but the basic scheme of the updating rule remains the same.
  
 
As a sequel to this post, I will sketch how you can quickly build fourth and sixth order symplectic integrators from this simple second-order integrator.
 
As a sequel to this post, I will sketch how you can quickly build fourth and sixth order symplectic integrators from this simple second-order integrator.
Line 75: Line 75:
 
And as a sequel to that I will talk about the distinction between 'implicit' and 'explicit' integrators.
 
And as a sequel to that I will talk about the distinction between 'implicit' and 'explicit' integrators.
  
[[Category: Articles]]
 
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]
 
[[Category: Orbiter Math]]
 
[[Category: Orbiter Math]]
 
{{HasPrecis}}
 
{{HasPrecis}}

Please note that all contributions to OrbiterWiki are considered to be released under the GNU Free Documentation License 1.2 (see OrbiterWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)