First, we locate a homoclinic orbit using
the homotopy method. The file kpr.f
already contains
approximate parameter values for a homoclinic orbit,
namely
PAR(1)=-1.851185, k=PAR(2)=-0.15.
The files r.kpr.1 and s.kpr.1 specify the appropriate
constants for continuation in 2T=PAR(11) (also referred
to as PERIOD) and the dummy parameter
=PAR(17)
starting
from a small solution in the local unstable manifold;
make first
BR PT TY LAB PERIOD L2-NORM ... PAR(17) ...
1 29 UZ 2 1.900184E+01 1.693817E+00 ... 4.433433E-09 ...
which indicates that a zero of the artificial parameter
The right-hand endpoint can be made to approach the
equilibrium by performing a further continuation in T with the
right-hand projection condition satisfied (PAR(17) fixed) but
with
allowed to vary.
Figure 19.1: Projection on the (x,y)-plane of solutions
of the boundary value
problem with 2T=19.08778.
Figure 19.2: Projection on the (x,y)-plane of solutions of the
boundary value problem with 2T = 60.0.
make second
BR PT TY LAB PERIOD L2-NORM ... PAR(1) ... 1 35 UZ 4 6.000000E+01 1.672806E+00 ... -1.851185E+00 ...provides a good approximation to a homoclinic solution (see Figure 19.2).
The second stage to obtain a starting solution is to add a solution to the modified adjoint variational equation. This is achieved by setting both ITWIST and ISTART to 1 (in s.kpr.3), which generates a trivial guess for the adjoint equations. Because the adjoint equations are linear, only a single Newton step (by continuation in a trivial parameter) is required to provide a solution. Rather than choose a parameter that might be used internally by AUTO, in r.kpr.3 we take the continuation parameter to be PAR(11), which is not quite a trivial parameter but whose affect upon the solution is mild.
make third
The fourth run
make fourth
Figure 19.3: Projection on the (x,y)-plane of solutions
at 1 (
) and
2 (
).
Figure 19.4: Three-dimensional blow-up of the solution curves
at labels 1 (dotted) and 2 (solid line) from Figure 3.8.
Note that several other parameters appear in
the output. PAR(10) is a dummy parameter
that should be zero when the adjoint is being computed correctly;
PAR(29), PAR(30), PAR(33) correspond to the
test functions
,
and
.
That these test functions were activated is specified
in three places in r.kpr.4 and s.kpr.4
as described in Section 16.6.
Note that at the end-point of
the branch (reached when after NMX=50 steps) PAR(29) is
approximately zero which corresponds to a zero of
, a
non-central saddle-node homoclinic orbit. We shall return to the computation of
this codimension-two point later. Before reaching this point,
among the output we find two zeroes of PAR(33)
(test function
) which gives the accurate
location of two inclination-flip bifurcations,
BR PT TY LAB PAR(1) ... PAR(2) PAR(10) ... PAR(33) 1 6 UZ 10 -1.801662E+00 ... -2.002660E-01 -7.255434E-07 ... -1.425714E-04 1 12 UZ 11 -1.568756E+00 ... -4.395468E-01 -2.156353E-07 ... 4.514073E-07That the test function really does have a regular zero at this point can be checked from the data saved in p.3, plotting PAR(33) as a function of PAR(1) or PAR(2). Figure 19.3 presents solutions
Continuing in the other direction
make fifth
BR PT TY LAB PAR(1) ... PAR(10) ... PAR(33) 1 50 EP 13 -1.938276E+00 ... -7.523344E+00 ... 6.310810E+01
Figure 19.5: Computed homoclinic orbits approaching the BT point
Note that the numerical approximation has ceased to become reliable, since PAR(10) has now become large. Phase portraits of homoclinic orbits between the BT point and the first inclination flip are depicted in Figure 19.5. Note how the computed homoclinic orbits approaching the BT point have their endpoints well away from the equilibrium. To follow the homoclinic orbit to the BT point with more precision, we would need to first perform continuation in T (PAR(11)) to obtain a more accurate homoclinic solution.