In ChGr:97 the following water wave model was considered:
An explicit solution exists for , and it is given by
BR PT TY LAB PAR(1) L2-NORM ... PAR(3) 1 1 EP 1 3.00000E+00 5.56544E+00 ... 0.00000E+00 1 2 EP 2 3.04959E+00 5.49141E+00 ... 1.77919E-17Here PAR(1)=, PAR(2)=, and PAR(3)=. We have only done a very small continuation to give AUTO a chance to create a good mesh and avoid convergence problems later. Next, we set ITWIST=1 and calculate the adjoint:
BR PT TY LAB PAR(2) L2-NORM ... PAR(9) 1 2 EP 3 2.76556E+00 5.49140E+00 ... -7.62944E-08We now need to move back to the orbit flip at :
BR PT TY LAB PAR(1) L2-NORM ... PAR(3) 1 14 UZ 5 3.00000E+00 5.47612E+00 ... 1.47274E-09Now all preparations are done to start homoclinic branch switching. This is very similar to the technique used in Sandstede's model in Section 27.1; to find a 3-homoclinic orbit, we open 2 Lin gaps, until , while also varying =PAR(3).
BR PT TY LAB PAR(3) ... PAR(21) PAR(22) PAR(24) 1 13 8 6.31458E-10 ... 1.65469E+01 -8.57681E-08 -7.30773E-07 1 23 UZ 9 1.46493E-09 ... 9.92489E+00 -5.84373E-12 1.93098E-07 1 26 10 4.01320E-09 ... 6.92406E+00 2.59555E-07 7.47534E-07 1 33 EP 11 2.15487E-06 ... 3.50000E+00 7.92587E-04 3.98390E-04We then look for an orbit with and close the gap corresponding to =PAR(22), for decreasing .
BR PT TY LAB PAR(2) ... PAR(3) PAR(22) PAR(24) 1 10 12 2.58030E+00 ... 2.15869E-06 7.65037E-04 3.82464E-04 1 13 UZ 13 2.32044E+00 ... 4.02730E-11 1.17522E-10 1.69655E-08 1 20 EP 14 -1.14985E-01 ... -8.87194E-04 -7.18231E-01 -3.31153E-01and finally close the gap corresponding to =PAR(24),
BR PT TY LAB PAR(2) ... PAR(3) PAR(23) PAR(24) 1 35 15 2.31893E+00 ... -2.16070E-08 7.69046E+00 -1.08126E-05 1 51 UZ 16 2.34039E+00 ... 2.83533E-07 3.47976E+00 1.42651E-04 1 58 UZ 17 3.08085E+00 ... 1.84952E-12 3.50004E+00 -1.64827E-10 1 70 EP 18 3.08870E+00 ... -8.10422E-08 5.87541E+00 -4.82991E-05so that a three-homoclinic orbit is found. Here the zero at label 16 is the one we are looking for. At label 17, =PAR(1) has changed considerably to the extend that and a second 3-homoclinic orbit is found. Note that for all zeros of PAR(24)= , the parameter =PAR(3) is also zero (within AUTO accuracy), which it has to be to remain within the original Hamiltonian system. Setting ISTART=1, a normal ``trivial'' continuation (with NMX=1) of the orbit corresponding to label 16 lets HomCont produce a proper concatenated 3-homoclinic orbit:
BR PT TY LAB PAR(2) L2-NORM ... PAR(3) 1 1 EP 19 2.34039E+00 7.51157E+00 ... 2.83533E-07This 3-homoclinic orbit is depicted in Figure 27.6.