Overview
Comment: | Corrected various bugs - including resettting n_ports to correct value |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
dba3d365932c4d5a734ed8b72b4544db |
User & Date: | gawthrop@users.sourceforge.net on 1998-07-02 14:30:50 |
Other Links: | branch diff | manifest | tags |
Context
1998-07-02
| ||
14:37:42 | Initial revision check-in: 0300f1e20b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
14:30:50 | Corrected various bugs - including resettting n_ports to correct value check-in: dba3d36593 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
13:40:50 |
Added extra ports names (due to defaults) to relevant lists: port_name port_bond check-in: e9a78e5a15 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/m/rbg2abg.m from [fd684fbb7b] to [c3724ad5a6].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | + + + + + | function [bonds,components] = rbg2abg(name,rbonds,rstrokes,rcomponents,port_coord,port_name,infofile) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.30 1998/07/02 13:40:50 peterg % %% Added extra ports names (due to defaults) to relevant lists: % %% port_name % %% port_bond % %% % %% Revision 1.29 1998/07/02 13:28:31 peterg % %% Added defaults in new form BEFORE alias expansion % %% % %% Revision 1.28 1998/07/02 12:36:05 peterg % %% Removed debugging lines % %% % %% Revision 1.27 1998/07/02 12:24:02 peterg |
︙ | |||
217 218 219 220 221 222 223 | 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | - + - - - - - - - - + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + - | direction = -sign(bond_end-1.5*one); signed_bond_list = bond_list.*direction; components = add_bond(components,signed_bond_list',i); # Unalias all the ports on this component - if not a junction unlabelled_ports = 0; in_bonds = 0; |
︙ | |||
323 324 325 326 327 328 329 330 331 332 333 334 335 336 | 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 | + | end; end; bonds = causality; % Now expand vector ports [n_bonds,junk] = size(bonds); n_ports=length(port_bond); n_exp_ports=n_ports; exp_port_name=""; exp_port_bond = []; %exp_comps = []; for i=1:n_ports port_name_i = port_name(i,:) [subport,n_subports] = split_port(port_name_i, ','); % Find the components of the vector port |
︙ |