Overview
Comment: | Causality now set correctly for: multi-port C and I C and I with arrows pointing in |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
074b696b358ac6f322fe60cdf7fe838f |
User & Date: | gawthrop@users.sourceforge.net on 1998-06-27 13:24:04 |
Other Links: | branch diff | manifest | tags |
Context
1998-06-27
| ||
14:49:16 | No change check-in: f271eec1cf user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
13:24:04 |
Causality now set correctly for: multi-port C and I C and I with arrows pointing in check-in: 074b696b35 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1998-06-26
| ||
14:19:43 | Copy hidden files (eg .octaverc) in tidy mode check-in: fb420c0d89 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/m/abg2cbg.m from [c289a11e44] to [43eb33081e].
︙ | ︙ | |||
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.24 1998/06/25 17:45:03 peterg % %% No change -- but checked that explicit causality works! % %% % %% Revision 1.23 1998/04/04 10:46:37 peterg % %% Coerces port bonds to have smae direction as the imposing bonds % %% _cbg now generates the (coerced) components as welll as the (coerced) % %% causality. | > > > > > | 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.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! % %% % %% Revision 1.23 1998/04/04 10:46:37 peterg % %% Coerces port bonds to have smae direction as the imposing bonds % %% _cbg now generates the (coerced) components as welll as the (coerced) % %% causality. |
︙ | ︙ | |||
340 341 342 343 344 345 346 | %disp(sprintf('Causality is %3.0f%s complete.', done, pc), infofile)); end; % Set causality of a C or I which is not already set [ci_index,prefered] = getdynamic(status,system_type); if ci_index>0 | | | | > | 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 | %disp(sprintf('Causality is %3.0f%s complete.', done, pc), infofile)); end; % Set causality of a C or I which is not already set [ci_index,prefered] = getdynamic(status,system_type); if ci_index>0 ci_bond_index = nozeros(components(ci_index,:)); # Get all bonds ci_direction = sign(ci_bond_index); ci_bond_index = abs(ci_bond_index); bonds(ci_bond_index,1:2) = prefered*ci_direction'*[1 1]; end; end; % Print final causality final_done = (sum(status==zeros(n_components,1))/n_components)*100; |
︙ | ︙ |