Debian Codegraph @

07p/demos/sspg/sspg.auto

raw
1
2 #========================================
3 # AUTO demo sspg
4 # BPCONT for non-generic non-periodic BVP
5 #========================================
6
7 pgm="sspg"
8
9 print "\n***"+pgm+": run 1: trivial solution***"
10 r1=run(pgm,sv=pgm+'.1')
11 bp=r1('BP1')
12
13 print "\n***"+pgm+": run 1: branch switch***"
14 run(bp,ISW=-1,NMX=5,NPR=1,sv=pgm+'.1.sw')
15
16 print "\n***"+pgm+": run 2: switch to BP continuation***"
17 sw=run(bp,ICP=[1,2],ISW=2,NMX=50,NPR=10,sv=pgm+'.2.sw')
18
19 print "\n***"+pgm+": run 2: BP continuation (fw)***"
20 run(sw,sv=pgm+'.2.fw')
21
22 print "\n***"+pgm+": run 2: BP continuation (bw)***"
23 run(sw,DS='-',sv=pgm+'.2.bw')
24
25 print "\n***Clean the directory***"
26 cl()
27