Debian Codegraph @

07p/demos/r3b/H1c.auto

raw
1
2 #============================================
3 # AUTO Demo r3b: Computing unstable manifolds
4 #============================================
5
6 import os,data
7
8 if not os.path.exists('s.H1'):
9 auto('r3b.auto')
10
11 print "\n*** Compute the Floquet eigenfunction***"
12 H1 = loadbd('H1')
13 flq = run(H1(68),c='r3b.flq',sv='flq')
14
15 print "\n*** Extract data for the selected orbit from s.flq***"
16 startman = data.get(flq('UZ1'),eps=-1e-2)
17
18 print "\n*** Time integration using continuation***"
19 startH1c = run(startman,e='man',c='man.H1c.0',sv='startH1c')
20
21 print "\n*** Compute part of the unstable manifold***"
22 H1c = run(startH1c,c='man.H1c.1')
23 save(rl(H1c),'H1c')
24
25 print "\n***Clean the directory***"
26 clean()
27