Overview
Comment:Empty effort and flow attributes replaced by 'external'.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 99e1c2ba5bedb63e90603eeb2f20f655a870fd4e2dbe6bea5b4c9fb684591c5b
User & Date: gawthrop@users.sourceforge.net on 1996-08-09 14:08:04
Other Links: branch diff | manifest | tags
Context
1996-08-09
15:13:13
Generic viewing of any representation via ps files implemented. check-in: e7d7faba50 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:08:04
Empty effort and flow attributes replaced by 'external'. check-in: 99e1c2ba5b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:29:04
Initial revision check-in: 939ff1e667 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/comp/simple/SS_eqn.m from [6061651cf9] to [2f202334cd].

1
2
3
4
5
6
7
8



9
10
11
12
13
14
15
16
17
18
19

20
21
22








23
24
25
26
27
28
29
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41








+
+
+











+



+
+
+
+
+
+
+
+







function structure =  SS_eqn(bond_number,bonds,direction,cr,args, ...
                            structure,filenum);

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.2  1996/08/08 16:38:19  peter
% %% Changed to filenumer type of fprintf
% %%
% %% Revision 1.1  1996/08/08 16:19:08  peter
% %% Initial revision
% %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


% The string 'cr' contains the effort attributes;  
% 'arg' contains the flow attributes. 
% external indicates an external variable
% internal indicates an internal variable
% anything else is the name of a constant.
% Blank is taken to be external

effort_attribute = cr;
flow_attribute = args;

if length(effort_attribute)==0
  effort_attribute = 'external';
end;

if length(flow_attribute)==0
  flow_attribute = 'external';
end;

inputs = structure(3);
outputs = structure(4);

% Effort
if strcmp(effort_attribute, 'external')
  if bonds(1,1)==-1 % Source


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]