| 1 |
This directory contains example scripts for computing period |
| 2 |
solutions to the N-body problem. |
| 3 |
|
| 4 |
3d.c: This file contains the equations for the circular restricted |
| 5 |
3-body problem in a rotating frame. |
| 6 |
|
| 7 |
c.3d: This is the basic AUTO constants file which is read in |
| 8 |
and modified by all of the scripts. |
| 9 |
|
| 10 |
There are two "basic" AUTO command line user interface scripts. |
| 11 |
Basic AUTO CLUI script are run by typing: |
| 12 |
|
| 13 |
auto scriptname |
| 14 |
|
| 15 |
Basic AUTO CLUI scripts always end with the suffix ".auto", |
| 16 |
and they provide access to most, but not all, Python |
| 17 |
syntax. The also allow the use of non-standard |
| 18 |
Python syntax such as 'cd /tmp'. |
| 19 |
|
| 20 |
|
| 21 |
In addition, there are two "expert" AUTO CLUI scripts. Expert AUTO |
| 22 |
CLUI script are run by typing: |
| 23 |
|
| 24 |
autox scriptname |
| 25 |
|
| 26 |
Expert AUTO CLUI scripts always end with the suffix ".autox". |
| 27 |
Expert AUTO CLUI scripts provide access to the full capabilities of |
| 28 |
the Python language, at the expense of a slightly more cumbersome |
| 29 |
syntax. For example, the non-standard Python syntax 'cd /tmp' |
| 30 |
is not allowed, and must be replaced with 'cd ('/tmp')'. Also, |
| 31 |
the AUTO CLUI libraries must be explicitly included |
| 32 |
using the command 'from AUTOclui import *'. |
| 33 |
|
| 34 |
------------------------------------------------------------ |
| 35 |
|
| 36 |
compute_lagrange_points_family.auto: |
| 37 |
|
| 38 |
This is a basic script which computes and plots all of the |
| 39 |
lagrange points as a function of the ratio of the masses of |
| 40 |
the two planets. |
| 41 |
|
| 42 |
compute_lagrange_points_0.5.auto: |
| 43 |
|
| 44 |
This is a basic script which computes all of the lagrange |
| 45 |
points for the case where the masses of the two planets are |
| 46 |
equal, and saves the data. This script is used to compute |
| 47 |
starting data for the compute_periodic_family.xauto script. |
| 48 |
|
| 49 |
compute_periodic_family.xauto: |
| 50 |
|
| 51 |
NOTE: This script depends on the results of the |
| 52 |
compute_lagrange_points_0.5.auto script, so that |
| 53 |
script must be run before this script is used. |
| 54 |
|
| 55 |
This is an expert script which starts at a lagrange |
| 56 |
point computed by compute_lagrange_points_0.5.auto |
| 57 |
and continues in the ratio of the masses until |
| 58 |
a specified mass ratio is reached. It then computes |
| 59 |
a family of periodic orbits for each pair of |
| 60 |
purely complex eigenvalues. Finally, for each bifurcation |
| 61 |
point detected on the primary branch a bifurcating |
| 62 |
branch is also computed. E.g. the command |
| 63 |
|
| 64 |
autox compute_periodic_family.xauto l1 0.0123 |
| 65 |
|
| 66 |
computes families of periodic orbits emanating from l1 |
| 67 |
for mass ratio 0.0123. |
| 68 |
|
| 69 |
To run the same problem with branch switching do: |
| 70 |
|
| 71 |
autox -- compute_periodic_family.xauto -b l1 0.0123 |
| 72 |
|
| 73 |
to_matlab.xauto: |
| 74 |
|
| 75 |
This script takes a set of AUTO data files and creates |
| 76 |
a set of files formatted for importing into Matlab |
| 77 |
for either plotting or further calculations. |
| 78 |
E.g. the command |
| 79 |
|
| 80 |
autox to_matlab.xauto foo bar |
| 81 |
|
| 82 |
will take the solution file 's.foo' and bifurcation diagram |
| 83 |
file 'b.foo' and create the following files: |
| 84 |
|
| 85 |
'bar_bifur' : This files contains the bifurcation diagram |
| 86 |
from 'b.foo' |
| 87 |
|
| 88 |
'bar_solution_??' : These files each contain one solution from |
| 89 |
the file 's.foo'. The '??' is replaced |
| 90 |
with the solution label number. |
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|