07p/demos/nag/nag.auto
raw| 1 | |
| 2 | #============== |
| 3 | # AUTO Demo nag |
| 4 | #============== |
| 5 | |
| 6 | pgm = "nag" |
| 7 | print "\nDemo %s is started"%pgm |
| 8 | print "\n%s : first run : part of a branch of heteroclinic orbits"%pgm |
| 9 | r1 = run(e=pgm,c=pgm) |
| 10 | |
| 11 | print "\n%s : second run : compute in opposite direction"%pgm |
| 12 | r2 = run(e=pgm,c=pgm,DS='-') |
| 13 | save(r1+r2,pgm) |
| 14 | |
| 15 | print "\n***Clean the directory***" |
| 16 | cl() |