Overview
Comment:Fixed interpretation of causal assignment on bonds.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 4c94ad62f0b8148b5eee3860f1c7cd23d19047cd6dbd89858ec92bf7c1ca1965
User & Date: geraint@users.sourceforge.net on 2004-08-13 00:14:03
Other Links: branch diff | manifest | tags
Context
2004-08-13
01:30:21
Example system consisting of a stack of 2D rigid bars mounted on oscillating supports.

Demonstrates Dia-built hierarchical models, including vector ports, repeated components and aliasing of parameters. check-in: 33967e2521 user: geraint@users.sourceforge.net tags: origin/master, trunk

00:14:03
Fixed interpretation of causal assignment on bonds. check-in: 4c94ad62f0 user: geraint@users.sourceforge.net tags: origin/master, trunk
2004-08-12
12:28:03
Removed: interferes with make dependencies for odes.dat2 check-in: cbd06f6888 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/dia2abg.pl from [6be8b310ce] to [9fb297b3c3].

508
509
510
511
512
513
514
515

516
517

518
519
520
521
522
523
524
508
509
510
511
512
513
514

515
516

517
518
519
520
521
522
523
524







-
+

-
+








	for ($effort_causality) {
	    if (/-1/) { $effort_causality = "tail";}
	    if (/0/) { $effort_causality = "none";}
	    if (/1/) { $effort_causality = "head";}
	}
	for ($flow_causality) {
	    if (/-1/) { $flow_causality = "tail";}
	    if (/-1/) { $flow_causality = "head";}
	    if (/0/) { $flow_causality = "none";}
	    if (/1/) { $flow_causality = "head";}
	    if (/1/) { $flow_causality = "tail";}
	}
		       
	print OUT
	    "  ## bond $mtt_bond_id \n" .
	    "  ${diagram_name}.bonds.bond${mtt_bond_id_index{$dia_bond_id}}." .
	    "head.component = \"${head_component}\";\n" .
	    "  ${diagram_name}.bonds.bond${mtt_bond_id_index{$dia_bond_id}}." .


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]