Overview
Comment: | Now defaults junction ports when only one specified (for vector junctions) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
3168d5f598d2a22bfcde48ac3ed4c626 |
User & Date: | gawthrop@users.sourceforge.net on 1999-10-19 00:05:44 |
Other Links: | branch diff | manifest | tags |
Context
1999-10-19
| ||
00:34:10 | *** empty log message *** check-in: 6621d634a1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
00:05:44 | Now defaults junction ports when only one specified (for vector junctions) check-in: 3168d5f598 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1999-10-18
| ||
22:41:41 | Corrected vector junction expansion check-in: c78537a016 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/m/rbg2abg.m from [c4467a3093] to [605d25d1b2].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | + + + + | function [bonds,components,n_vector_bonds] = rbg2abg(name,rbonds,rstrokes,rcomponents,\ port_coord,port_name,\ infofile,errorfile) ## ############################################################### ## ## Version control history ## ############################################################### ## ## $Id$ ## ## $Log$ ## ## Revision 1.43 1999/10/18 04:08:46 peterg ## ## Now computes n_vector_bonds -- number apparent (maybe vector) bonds per component. ## ## Neeeded to vectorise junctions. ## ## ## ## Revision 1.42 1999/08/25 21:45:03 peterg ## ## Spurious start to vector 0 and 1 ## ## ## ## Revision 1.41 1999/08/19 21:12:33 peterg ## ## Tidied and started implementaation of vector junctions ## ## ## ## Revision 1.40 1999/08/19 05:39:55 peterg |
︙ | |||
241 242 243 244 245 246 247 | 245 246 247 248 249 250 251 252 253 254 255 256 257 258 | - - - - - - - - - - - - - - | ## Also expand aliases using the alias list for each component components = []; i_vector=0; # Counter for vector components for i = 1:n_components ##Get component type eval(['[comp_type, comp_name] = ', name, '_cmp(i)']); |
︙ | |||
283 284 285 286 287 288 289 | 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 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 | - + + + + + + + + + + + + + + + + + + + + + + + - + + | ## which end of bond at component? bond_end = index(:,2); direction = -sign(bond_end-1.5*one); signed_bond_list = bond_list.*direction; components = add_bond(components,signed_bond_list',i); |
︙ |