| 1 |
|
| 2 |
#============== |
| 3 |
# AUTO Demo pla |
| 4 |
#============== |
| 5 |
|
| 6 |
pgm = "pla" |
| 7 |
print "\nDemo %s is started"%pgm |
| 8 |
print "\n%s : first run : stationary solutions"%pgm |
| 9 |
r1 = run(e=pgm,c=pgm) |
| 10 |
|
| 11 |
print "\n%s : second run : periodic solutions (1st branch)"%pgm |
| 12 |
r2 = run(r1('HB1'),IPS=2,ICP=[1,11],ILP=0,ISP=1,UZSTOP={11:1e4}) |
| 13 |
|
| 14 |
print "\n%s : third run : periodic solutions (2nd branch)"%pgm |
| 15 |
r3 = run(r1('HB2'),IPS=2,ICP=[1,11],ILP=0,ISP=1, |
| 16 |
UZR={1:[1.25,1.5,1.75,2.1,2.62]},UZSTOP={11:5e4}) |
| 17 |
|
| 18 |
all = r1+r2+r3 |
| 19 |
save(all, 'pla') |
| 20 |
|
| 21 |
print "\n***Clean the directory***" |
| 22 |
cl() |