Debian Codegraph @

07p/demos/ph1/ph1.auto

raw
1
2 #==========
3 # Demo ph1
4 #==========
5
6 print "\n***Compute stationary solutions***"
7 sa = run(e='ph1',c='ph1.ss')
8
9 print "\n***Compute periodic solutions***"
10 for hb in sa('HB'):
11 sa = sa + run(hb,c='ph1.ps')
12
13 print "\n***Relabel and save the sa output files***"
14 sa = rl(sa)
15 save(sa, 'sa')
16
17 print "\n***Phase shift of Solution 6 in s.sa***"
18 ph1 = run(sa(6),c='ph1')
19 ph1 = rl(ph1)
20 save(ph1, 'ph1')
21
22 print "\n***Clean the directory***"
23 cl()
24