07p/demos/pd2/pd2.auto
raw| 1 | |
| 2 | #============== |
| 3 | # AUTO Demo pd2 |
| 4 | #============== |
| 5 | |
| 6 | pgm = "pd2" |
| 7 | print "\nDemo %s is started"%pgm |
| 8 | print "\n%s : first run : time integration towards stationary state"%pgm |
| 9 | r1 = run(e=pgm,c=pgm) |
| 10 | save(r1,'1') |
| 11 | |
| 12 | print "\n%s : second run : continuation of stationary state"%pgm |
| 13 | r2 = run(r1,IPS=17,ICP=[1],ISP=2,NMX=15,NPR=50,DS=-0.1,DSMAX=1.0,UZSTOP={1:0.0}) |
| 14 | save(r2,'2') |
| 15 | |
| 16 | print "\n***Clean the directory***" |
| 17 | cl() |
| 18 |