| 1 |
#========= |
| 2 |
# Demo pen |
| 3 |
#========= |
| 4 |
|
| 5 |
pgm = 'pen' |
| 6 |
|
| 7 |
print pgm, ": first run : locate a period doubling bifurcation" |
| 8 |
pen=run(pgm,c='pen.1') |
| 9 |
|
| 10 |
print pgm, ": second run : a bifurcating branch of out-of-phase rotations" |
| 11 |
pen=pen+run(pen('PD1'),c='pen.2') |
| 12 |
|
| 13 |
print pgm, ": third run : a secondary bifurcating branch (without bifurcation detection)" |
| 14 |
pen=pen+run(pen('BP1'),c='pen.3') |
| 15 |
|
| 16 |
print pgm, ": fourth run : another secondary bifurcating branch (without bifurcation detection)" |
| 17 |
pen=pen+run(pen('BP2'),c='pen.4') |
| 18 |
save(pen,'pen') |
| 19 |
|
| 20 |
print pgm, ": fifth run : generate starting data for period doubling continuation" |
| 21 |
t=run(pen('PD1'),c='pen.5') |
| 22 |
|
| 23 |
print pgm, ": sixth run : compute a locus of period doubling bifurcations; restart from t" |
| 24 |
pd=run(t,sv='pd') |
| 25 |
|