File: tor.auto

package info (click to toggle)
auto-07p 0.9.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 16,200 kB
  • sloc: fortran: 22,644; f90: 19,340; python: 19,045; ansic: 11,116; sh: 1,079; makefile: 618; perl: 339
file content (32 lines) | stat: -rw-r--r-- 830 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

#==============
# AUTO Demo tor
#==============

pgm = "tor"
print "\nDemo %s is started"%pgm
print "\n%s : first run : stationary solution"%pgm
r1 = run(e=pgm,c=pgm)

print "\n%s : second run : periodic solutions"%pgm
r2 = run(r1("HB1"),IPS=2,ICP=[1,11])

print "\n%s : third run : a bifurcating branch of periodic solutions"%pgm
r3 = run(r2("BP1"),ISW=-1,NMX=90)
save(r1+r2+r3,'1')

print "\n%s : fourth run : a branch of torus bifurcations (start)"%pgm
r4 = run(r3("TR1"),ICP=[1,2,11],ISW=2,ILP=0,ISP=0,NPR=25,NMX=100,
         DS=0.05,DSMAX=0.1)

print "\n%s : fifth run : a branch of torus bifurcations"%pgm
r5 = run(r4,ITNW=7)
save(r5,'tor')

print "\n%s : sixth run : a 3-parameter branch fixing the angle"%pgm
r6 = run(r4,ITNW=7,ICP=[1,2,3,11],UZSTOP={11:3000})
save(r6,'tor3')

print "\n***Clean the directory***"
cl()