/[ascend]/trunk/models/johnpye/shmroots.a4c
ViewVC logotype

Contents of /trunk/models/johnpye/shmroots.a4c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1331 - (show annotations) (download) (as text)
Thu Mar 8 06:03:43 2007 UTC (12 years, 9 months ago) by jpye
File MIME type: text/x-ascend
File size: 477 byte(s)
Reverted shm.a4c.
Added shmroots.a4c which displays the two complex roots of the SHM system using the extpy 'roots' module.
1 REQUIRE "johnpye/shm.a4c";
2
3 IMPORT "johnpye/extpy/extpy";
4 IMPORT "johnpye/roots";
5
6 (*
7 Do a plot of the roots of the system when it first loads. Requires that you
8 have ASCEND built with IDA. You also need to run with the PyGTK interface
9 and you need to have scipy and matplotlib installed.
10 *)
11 MODEL shmroots REFINES shm
12
13 METHODS
14
15 METHOD on_load;
16 RUN reset; RUN values;
17 RUN ode_init;
18 RUN roots;
19 END on_load;
20
21 METHOD roots;
22 EXTERNAL roots(SELF);
23 END roots;
24
25 END shmroots;

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22