Debian Codegraph @

07p/demos/pp3/pp3.auto

raw
1
2 #==============
3 # AUTO Demo pp3
4 #==============
5
6 print "\n***Compute stationary solution families***"
7 r1 = run(e='pp3',c='pp3')
8 pp3 = r1
9
10 print "\n***Compute periodic solution families***"
11 for solution in pp3("HB"):
12 print "Computing a periodic solution family from label", solution["LAB"]
13 r=run(solution,IPS=2,ICP=[1,11],
14 UZR ={1:[0.15,0.20,0.25,0.35,0.40]},
15 UZSTOP={1:[1,0,0.30],9:1.20})
16 pp3 = pp3 + r
17
18 print "\n***Relabel the output and save***"
19 pp3 = rl(pp3)
20 save(pp3,'pp3')
21
22 # get the second Hopf bifurcation from the first run
23 hb2 = r1('HB2')
24 print "\n***Compute a locus of Hopf bifurcations from label ", hb2["LAB"], "***"
25 hb=run(hb2,ICP=[1,4],ISW=2,UZR={},UZSTOP={4:4})
26
27 print "\n***Relabel the output and save***"
28 hb=rl(hb)
29 save(hb,'hb')
30
31 print "\n***Clean the directory***"
32 cl()
33