Overview
Comment:Initial revision
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 6cae5925504ec985003d738d4583d2be771b07f095db99b982f3aa5d275f09fc
User & Date: gawthrop@users.sourceforge.net on 1996-08-19 09:05:04
Other Links: branch diff | manifest | tags
Context
1996-08-19
10:48:57
Added `-' to the component regexp. check-in: 959996e6d4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:05:04
Initial revision check-in: 6cae592550 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:03:41
Handles repeating components. check-in: 9ceaa5943a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/lib/comp/simple/TF_eqn.m version [779108ce5c].





























































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
function  structure = TF_eqn(bond_number,bonds,direction,cr,args, ...
                            structure,eqnfile);

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

			
if nargin<6
  eqnfile = 'stdout';
end;

% Needs port labels etc...

% Effort
if bonds(1,1)==1
  oneeqn(bond_number(2),1,bond_number(1),1,cr,args,eqnfile);
else
  oneeqn(bond_number(1),1,bond_number(2),1,cr,args,eqnfile);
end;

% Flow
if bonds(1,2)==-1
  oneeqn(bond_number(2),-1,bond_number(1),-1,cr,args,eqnfile);
else
  oneeqn(bond_number(1),-1,bond_number(2),-1,cr,args,eqnfile);
end;


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