Debian Codegraph @

07p/demos/bvp/bvp.auto

raw
1
2 #=============
3 # AUTO Demo bvp
4 #=============
5
6 print "\n***Compute the zero solution branch***"
7 bvp=run(e='bvp',c='bvp')
8 save(bvp,'bvp')
9
10 print "\n***Compute bifurcating branches***"
11 for bp in bvp("BP"):
12 solution = load(bp,ISW=-1,DSMAX=10,UZR={2:[-6.0,-3.0,3.0,6.0]},
13 UZSTOP={1:[0.0,5.5],
14 2:[-9.0,9.0]})
15 print "\n***Branch " , solution["LAB"] , "***"
16 bvp = bvp + run(solution)
17 bvp = bvp + run(solution,DS='-')
18
19 print "\n***Relabel and save the output***"
20 bvp=rl(bvp)
21 save(bvp,'bvp')
22
23 print "\n***Clean the directory***"
24 cl()