Overview
Comment:Prints more useful name.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/numerical-algebraic-solution | trunk
Files: files | file ages | folders
SHA3-256: 2558640b1691fa3f7bc54b0fb0b64f95d14a61dd4007df20168f43c5a6780dac
User & Date: geraint@users.sourceforge.net on 2001-06-26 00:57:21
Other Links: branch diff | manifest | tags
Context
2001-06-26
01:01:28
Makes input and state names available for input rep. check-in: 5d1ea091d1 user: geraint@users.sourceforge.net tags: origin/numerical-algebraic-solution, trunk
00:57:21
Prints more useful name. check-in: 2558640b16 user: geraint@users.sourceforge.net tags: origin/numerical-algebraic-solution, trunk
00:55:48
Writes algebraic equation Jacobian _aej.r (not used yet). check-in: 383457e919 user: geraint@users.sourceforge.net tags: origin/numerical-algebraic-solution, trunk
Changes

Modified mttroot/mtt/bin/trans/dat2sdat from [8c6cd455bb] to [a1524eaa65].

11
12
13
14
15
16
17



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright (c) P.J.Gawthrop, 1997, 1999

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



## Revision 1.1  1999/03/28 21:29:40  peterg
## Initial revision
##
###############################################################

if [ "$2" = "odes" ]; then
    which="state"
else
    which="output"
fi

awk '
BEGIN{
printf("Time");
}
{ 
  if ($1==which)
    printf(" %s(%s)", $3, $5);
}
END{
printf("\n");
}
'  SYSTEM=$1 which=$which  < $1_struc.txt

cat $1_$2.dat










>
>
>

















|










11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright (c) P.J.Gawthrop, 1997, 1999

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1  2000/12/28 12:26:34  peterg
## Put under RCS
##
## Revision 1.1  1999/03/28 21:29:40  peterg
## Initial revision
##
###############################################################

if [ "$2" = "odes" ]; then
    which="state"
else
    which="output"
fi

awk '
BEGIN{
printf("Time");
}
{ 
  if ($1==which)
    printf(" %s(%s)", $4, $5);
}
END{
printf("\n");
}
'  SYSTEM=$1 which=$which  < $1_struc.txt

cat $1_$2.dat




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