| 1 |
|
| 2 |
#============== |
| 3 |
# AUTO Demo lin |
| 4 |
#============== |
| 5 |
|
| 6 |
pgm = "lin" |
| 7 |
print "\nDemo %s is started"%pgm |
| 8 |
print "\n%s : first run : compute trivial solutions and locate eigenvalues"%pgm |
| 9 |
r1 = run(e=pgm,c=pgm) |
| 10 |
|
| 11 |
print "\n%s : second run : compute a few steps on the bifurcating branch"%pgm |
| 12 |
r2 = run(r1("BP1"),NTST=6,ISW=-1,DSMAX=0.5,A1=5.0) |
| 13 |
save(r1+r2,'lin') |
| 14 |
|
| 15 |
print "\n%s : third run : compute a 2-parameter curve of eigenvalues"%pgm |
| 16 |
r3 = run(r2("UZ1"),ICP=[1,2],NTST=5,ISW=1) |
| 17 |
save(r3,'2p') |
| 18 |
|
| 19 |
print "\n***Clean the directory***" |
| 20 |
cl() |
| 21 |
|