| 1 |
# AUTO demo pcl using constants files |
| 2 |
# |
| 3 |
# Lorenz system |
| 4 |
# compute the EtoP connection via Lin's method |
| 5 |
|
| 6 |
print "\n1st run - continue equilibrium 0 and branches of secondary equilibria" |
| 7 |
run(e='pcl',c='pcl.1',sv='1') |
| 8 |
|
| 9 |
print "\n2nd run - switch to the periodic orbit and continue in rho up to 24.0579" |
| 10 |
run(c='pcl.2',s='1',sv='2') |
| 11 |
|
| 12 |
print "\n3rd run - extend the system" |
| 13 |
run(c='pcl.3',s='2',sv='3') |
| 14 |
|
| 15 |
print "\n4th run - normalize the Floquet bundle" |
| 16 |
run(c='pcl.4',s='3',sv='4') |
| 17 |
|
| 18 |
print "\n5th run - integrate backwards from the periodic orbit" |
| 19 |
print "measures the distance to Sigma = { x=10 } in sigma+" |
| 20 |
print "UZ point corresponds to an intersection with Sigma" |
| 21 |
run(c='pcl.5',s='4',sv='5') |
| 22 |
|
| 23 |
print "\n6th run - integrate away from the equilibrium up to Sigma" |
| 24 |
print "(second UZ is the one we want)" |
| 25 |
run(c='pcl.6',s='5',sv='6') |
| 26 |
|
| 27 |
print "\n7th run - put starting data for Lin vector and Lin gap in" |
| 28 |
print "Zx, Zy, Zz and eta" |
| 29 |
print "close the gap (with some intermediate solutions)" |
| 30 |
run(c='pcl.7',s='6',sv='7') |
| 31 |
cp('7','closegap') |
| 32 |
|
| 33 |
# plot this, have a look at the solution coordinates 'x-'-vs-'z-' and 'x+'-vs-'z+' |
| 34 |
#plot(r7) |
| 35 |
#wait() |
| 36 |
|
| 37 |
print "\n8th run - keep the gap closed and continue in rho,beta" |
| 38 |
load(c='pcl.8',s='7',sv='8') |
| 39 |
run(sv='8') |
| 40 |
run(DS='-',ap='8') |
| 41 |
merge('8','cont') |
| 42 |
|
| 43 |
clean() |
| 44 |
print "\nDone." |