| 1 |
|
| 2 |
#================== |
| 3 |
# AUTO Demo fnc/rep |
| 4 |
#================== |
| 5 |
|
| 6 |
pgm = "rep" |
| 7 |
print "\nDemo %s is started"%pgm |
| 8 |
|
| 9 |
print '\n%s : first run : Homotopy away from the folded node along the fold curve'%pgm |
| 10 |
r1 = run(e=pgm,c=pgm) |
| 11 |
|
| 12 |
print '\n%s : second run : Homotopy away from the fold curve on the critical manifold'%pgm |
| 13 |
r2 = run(r1('UZ1'),ICP=['vr1','Tr'],NBC=4,UZR={'vr1':0}) |
| 14 |
|
| 15 |
print '\n%s : third run: Actual computation of the repelling slow manifold'%pgm |
| 16 |
start3 = load(r2('UZ1'),ICP=['Tr','sr1','vr0','hr0'], |
| 17 |
UZR = {'Tr':[144.10077659,160.62079695,178.59845751, |
| 18 |
197.98334090,218.62796126,240.27107973]}) |
| 19 |
r3 = merge(run(start3,STOP='UZ2') + run(start3,STOP='UZ4',DS='-')) |
| 20 |
save(r3,pgm) |
| 21 |
|
| 22 |
print "\n***Clean the directory***" |
| 23 |
cl() |