Overview
Comment: | mtt -ibg Clutch odeso view now works! The order in which bonds are listed in each row of the connection/components matrix matters. Bonds with SS components at the other end are listed first (in order?). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
40803ca7e2d7853a090548f833fda805 |
User & Date: | geraint@users.sourceforge.net on 2003-10-11 15:08:54 |
Other Links: | branch diff | manifest | tags |
Context
2003-10-15
| ||
16:14:38 | Correct on current value, predict next value check-in: a8c356c721 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2003-10-11
| ||
15:08:54 |
mtt -ibg Clutch odeso view now works! The order in which bonds are listed in each row of the connection/components matrix matters. Bonds with SS components at the other end are listed first (in order?). check-in: 40803ca7e2 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2003-10-10
| ||
22:22:18 | typo. check-in: 841ac7b6f5 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/m/ibg2abg.m from [8d7790c91d] to [04eb14e49f].
︙ | ︙ | |||
326 327 328 329 330 331 332 333 334 335 336 337 338 339 | mtt_error(sprintf("Vector ports %s and %s are not compatible", head_bond.label, tail_bond.label), errorfile); elseif (head.n_subs > 1) mtt_info(sprintf("Vector port %s matches %s", head_bond.label, tail_bond.label), infofile); endif ## assign bond number for i = 1:head.n_subs ++unique_bond_number; eval(sprintf("%s.subbond%i.index = +%i;", head_str, i, unique_bond_number)); eval(sprintf("%s.subbond%i.index = -%i;", tail_str, i, unique_bond_number)); | > > > > > > | 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 | mtt_error(sprintf("Vector ports %s and %s are not compatible", head_bond.label, tail_bond.label), errorfile); elseif (head.n_subs > 1) mtt_info(sprintf("Vector port %s matches %s", head_bond.label, tail_bond.label), infofile); endif ## write type at other end eval(sprintf("%s.other_end_type = '%s';", head_str, tail.type)); eval(sprintf("%s.other_end_type = '%s';", tail_str, head.type)); ## assign bond number for i = 1:head.n_subs ++unique_bond_number; eval(sprintf("%s.subbond%i.index = +%i;", head_str, i, unique_bond_number)); eval(sprintf("%s.subbond%i.index = -%i;", tail_str, i, unique_bond_number)); |
︙ | ︙ | |||
463 464 465 466 467 468 469 | components = zeros(n_comps, max(n_vector_bonds)); if (struct_contains(comp_s, "comp")) for [comp, comp_name] = comp_s.comp counter = 0; for [bond, bond_name] = comp if (index(bond_name, "bond") == 1) | > | | | | | > > > > > > > > > > > > | 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 | components = zeros(n_comps, max(n_vector_bonds)); if (struct_contains(comp_s, "comp")) for [comp, comp_name] = comp_s.comp counter = 0; for [bond, bond_name] = comp if (index(bond_name, "bond") == 1) if (strcmp(bond.other_end_type, "SS")) for [sub_bond, sub_bond_name] = bond if (index(sub_bond_name, "subbond") == 1) components(comp.index, ++counter) = sub_bond.index endif endfor endif endif endfor for [bond, bond_name] = comp if (index(bond_name, "bond") == 1) if (!strcmp(bond.other_end_type, "SS")) for [sub_bond, sub_bond_name] = bond if (index(sub_bond_name, "subbond") == 1) components(comp.index, ++counter) = sub_bond.index endif endfor endif endif endfor endfor endif if (struct_contains(comp_s, "port")) for [port, port_name] = comp_s.port |
︙ | ︙ |