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

Diff of /trunk/models/johnpye/fourbar.a4c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2204 by johnpye, Sat Oct 7 09:31:51 2006 UTC revision 2205 by jpye, Fri May 21 06:02:14 2010 UTC
# Line 1  Line 1 
1  REQUIRE "atoms.a4l";  REQUIRE "atoms.a4l";
2    
3  IMPORT "johnpye/extpy/extpy";  IMPORT "johnpye/extpy/extpy";
4  IMPORT "johnpye/fourbarplot";  IMPORT "johnpye/fourbarplot";
5    
6  (*  (*
7      Model of a four-bar linkage      Model of a four-bar linkage
# Line 57  METHOD values; Line 57  METHOD values;
57            
58      alpha:= 30 {deg};      alpha:= 30 {deg};
59  END values;  END values;
60  METHOD fancyplot;  METHOD fancyplot;
61      EXTERNAL fourbarplot(SELF);      EXTERNAL fourbarplot(SELF);
62  END fancyplot;  END fancyplot;
63    
64  METHOD on_load;  METHOD on_load;
65      RUN reset;      RUN reset;
66      RUN values;      RUN values;
67      RUN default_self;      RUN default_self;
68        SOLVER QRSlv;
69        OPTION iterationlimit 50;
70  END on_load;  END on_load;
71  END fourbar;  END fourbar;
72            

Legend:
Removed from v.2204  
changed lines
  Added in v.2205

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