| 1 |
|
| 2 |
#============== |
| 3 |
# AUTO Demo dd2 |
| 4 |
#============== |
| 5 |
|
| 6 |
print "\nDemo dd2 is started" |
| 7 |
print "\ndd2 : first run : fixed point solution branches" |
| 8 |
r1 = run("dd2") |
| 9 |
save("dd2") |
| 10 |
|
| 11 |
print "\ndd2 : second run : a 2-parameter curve of period-doubling bifurcations" |
| 12 |
run(r1("PD1"),ICP=[1,2],ISW=2) |
| 13 |
save("pd") |
| 14 |
|
| 15 |
print "\ndd2 : third run : perform a period-doubling" |
| 16 |
r3 = run(r1("PD1"),ISW=-1) |
| 17 |
append("dd2") |
| 18 |
|
| 19 |
print "\ndd2 : fourth run : perform another period-doubling (period-4)" |
| 20 |
run(r3("PD1")) |
| 21 |
append("dd2") |
| 22 |
|
| 23 |
print "\n***Clean the directory***" |
| 24 |
clean() |