Debian Codegraph @

07p/demos/tor/tor.auto

raw
1
2 #==============
3 # AUTO Demo tor
4 #==============
5
6 pgm = "tor"
7 print "\nDemo %s is started"%pgm
8 print "\n%s : first run : stationary solution"%pgm
9 r1 = run(e=pgm,c=pgm)
10
11 print "\n%s : second run : periodic solutions"%pgm
12 r2 = run(r1("HB1"),IPS=2,ICP=[1,11])
13
14 print "\n%s : third run : a bifurcating branch of periodic solutions"%pgm
15 r3 = run(r2("BP1"),ISW=-1,NMX=90)
16 save(r1+r2+r3,'1')
17
18 print "\n%s : fourth run : a branch of torus bifurcations (start)"%pgm
19 r4 = run(r3("TR1"),ICP=[1,2,11],ISW=2,ILP=0,ISP=0,NPR=25,NMX=100,
20 DS=0.05,DSMAX=0.1)
21
22 print "\n%s : fifth run : a branch of torus bifurcations"%pgm
23 r5 = run(r4,ITNW=7)
24 save(r5,'tor')
25
26 print "\n%s : sixth run : a 3-parameter branch fixing the angle"%pgm
27 r6 = run(r4,ITNW=7,ICP=[1,2,3,11],UZSTOP={11:3000})
28 save(r6,'tor3')
29
30 print "\n***Clean the directory***"
31 cl()
32