Debian Codegraph @

07p/demos/r3b/L1a.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.L1'):
9 auto('r3b.auto')
10
11 print "\n*** Compute the Floquet eigenfunction***"
12 L1 = loadbd('L1')
13 flq = run(L1(3),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-5)
17
18 print "\n*** Time integration using continuation***"
19 startL1a = run(startman,e='man',c='man.L1a.0',sv='startL1a')
20
21 print "\n*** Compute the unstable manifold***"
22 L1a = run(startL1a,c='man.L1a.1')
23 save(rl(L1a),'L1a')
24
25 print "\n***Clean the directory***"
26 clean()
27