07p/demos/fsh/fsh.auto
raw| 1 | |
| 2 | #============== |
| 3 | # AUTO Demo fsh |
| 4 | #============== |
| 5 | |
| 6 | pgm = "fsh" |
| 7 | print "\nDemo %s is started"%pgm |
| 8 | print "\n%s : first run : continuation in the period T"%pgm |
| 9 | r1 = run(e=pgm,c=pgm) |
| 10 | save(r1, '0') |
| 11 | |
| 12 | print "\n%s : second run : continuation in c and T"%pgm |
| 13 | r2 = run(r1("UZ4"),ICP = [2, 11, 12, 13, 14],NINT=1, |
| 14 | DS='-',UZR = {2: [1.0,2.0,3.0,5.0,10.0]}, UZSTOP={2: 0.0}, A0=-0.1) |
| 15 | save(r2, pgm) |
| 16 | |
| 17 | print "\n***Clean the directory***" |
| 18 | cl() |
| 19 |