Overview
Comment: | Always override the causality of port bonds! |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
5046e243f1030d830e3fe86641f66126 |
User & Date: | gawthrop@users.sourceforge.net on 1998-07-03 19:03:31 |
Other Links: | branch diff | manifest | tags |
Context
1998-07-04
| ||
07:10:27 |
Don't evaluate alias if no constitutive relationship or args and write message. check-in: afb9d0acb1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1998-07-03
| ||
19:03:31 | Always override the causality of port bonds! check-in: 5046e243f1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
18:58:58 |
Put arg alias stuff within function alias_args Called recursively to handle arithmetic expressions check-in: 8ceaa8ab37 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/m/abg2cbg.m from [43eb33081e] to [c92b0c1411].
︙ | ︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 | % [bonds,status] = abg2cbg(system_name, system_type, full_name, port_bonds, infofile) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.25 1998/06/25 18:53:30 peterg % %% Actually, the previous comment was optimistic. % %% The port causalities on a compound are now forced to be the same as % %% that specified by a a _cuase.m file (if it exists) % %% % %% Revision 1.24 1998/06/25 17:45:03 peterg % %% No change -- but checked that explicit causality works! | > > > > > | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | % [bonds,status] = abg2cbg(system_name, system_type, full_name, port_bonds, infofile) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.26 1998/06/27 13:24:04 peterg % %% Causality now set correctly for: % %% multi-port C and I % %% C and I with arrows pointing in % %% % %% Revision 1.25 1998/06/25 18:53:30 peterg % %% Actually, the previous comment was optimistic. % %% The port causalities on a compound are now forced to be the same as % %% that specified by a a _cuase.m file (if it exists) % %% % %% Revision 1.24 1998/06/25 17:45:03 peterg % %% No change -- but checked that explicit causality works! |
︙ | ︙ | |||
218 219 220 221 222 223 224 | mtt_info(sprintf('%s: %1.0f port bonds incompatible with %1.0f ports', ... full_name, n_port_bonds, n_ports), infofile); else % Copy the port bonds & status for j = 1:n_port_bonds jj = port_bond_index(j); for k = 1:2 | | | | 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 | mtt_info(sprintf('%s: %1.0f port bonds incompatible with %1.0f ports', ... full_name, n_port_bonds, n_ports), infofile); else % Copy the port bonds & status for j = 1:n_port_bonds jj = port_bond_index(j); for k = 1:2 # if bonds(jj,k)==0 % only copy if not already set bonds(jj,k) = port_bonds(j,k); # end; end; status(1:n_ports) = port_status; end end else n_port_bonds=0; end; |
︙ | ︙ |