| 1 |
|
| 2 |
#=================== |
| 3 |
# AUTO Demo fnc/attr |
| 4 |
#==================- |
| 5 |
|
| 6 |
pgm = "attr" |
| 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=['va0','ha0','Ta'],DS='-',NBC=5,UZR={'ha0':-6.0}) |
| 14 |
|
| 15 |
print '\n%s : third run: Actual computation of the attracting slow manifold'%pgm |
| 16 |
start3 = load(r2('UZ1'),ICP=['Ta','va0','sa0','va1','ha1'],STOP=['UZ3'],DS='-', |
| 17 |
UZR = {'Ta':[56.312667620, 71.853132166, 85.797089436, |
| 18 |
98.432124179, 110.04693491, 120.81663908]}) |
| 19 |
r3 = merge(run(start3) + run(start3,DS='-')) |
| 20 |
save(r3,pgm) |
| 21 |
|
| 22 |
print "\n***Clean the directory***" |
| 23 |
cl() |