Overview
Comment:Creates _connections.dat. Records component names at the end of each (possibly vector-expanded) bond.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: ad0591cdc49ce732885a95cb953e6fe8533012c9ef0373b9c25a3b38715410bb
User & Date: geraint@users.sourceforge.net on 2004-08-26 00:05:09
Other Links: branch diff | manifest | tags
Context
2004-08-26
00:06:28
Script to create cbg.dia files from abg.dia, ibg.m, connections.dat and cbg.m. check-in: fbfb49ce87 user: geraint@users.sourceforge.net tags: origin/master, trunk
00:05:09
Creates _connections.dat. Records component names at the end of each (possibly vector-expanded) bond. check-in: ad0591cdc4 user: geraint@users.sourceforge.net tags: origin/master, trunk
00:03:46
Octave script to generate a connections structure which describes the component names at the head and tail of each bond of a (possibly vector-expanded) system. check-in: 244dd050e3 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/abg2connections_m2dat version [a1f5100c16].

































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#! /bin/sh

### abg2connections_m2dat
## Creates connections.dat from abg.m
## Copyright (C) 2004 by Geraint Paul Bevan

  ###################################### 
  ##### Model Transformation Tools #####
  ######################################

set -e

sys=$1

file=${sys}_connections.dat

${MATRIX} <<EOF  >abg2connections_m.log

abg = ${sys}_abg;

${sys}_connections = abg2connections (abg);

str = save_header_format_string;
save_header_format_string =  ["# Model Transformation Tools\t", ...
			      " -*-octave-*-\n", ...
			      "# Created by abg2connections_m\n", ...
			      str];

save -ascii ${file} ${sys}_connections;

EOF


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