Overview
Comment:Fixed logname bug
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: b93dd7e7a2f1cf05cc4277f772548cb4379be52b395c895041597f6c0abd5c12
User & Date: gawthrop@users.sourceforge.net on 1998-03-07 12:57:19.000
Other Links: branch diff | manifest | tags
Context
1998-03-07
14:04:17
dae creation split into 2 parts:
1. create a raw (ie without constitutive relationship) dae (rdae)
2. add the raw dae to the crs to get the dae.
reduce has less work to do with this approach
check-in: 01c7f9426d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
12:57:19
Fixed logname bug check-in: b93dd7e7a2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
12:51:20
This is the new version of ese2dae - it does not do the CRs at this
stage to give reduce an easier time.

rese2ese_r does the constitutive relationship bit check-in: c5e45d6145 user: gawthrop@users.sourceforge.net tags: origin/master, trunk

Changes
10
11
12
13
14
15
16






17
18
19
20
21
22
23
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29







+
+
+
+
+
+







# Copyright (c) P.J.Gawthrop, 1991, 1994, 1996

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2  1998/03/07 12:51:20  peterg
## This is the new version of ese2dae - it does not do the CRs at this
## stage to give reduce an easier time.
##
## rese2ese_r does the constitutive relationship bit
##
## Revision 1.1  1998/03/07 12:49:31  peterg
## Initial revision
##
## Revision 1.12  1998/01/31 16:22:59  peterg
## Added IF MTTNx>0 THEN and IF MTTNy>0 THEN before the relevant
## assignements of MTTdX and MTTY to themselves.
##
67
68
69
70
71
72
73

74
75
76
77
78
79

80
81
82

83
84
85
86
87
88
89
73
74
75
76
77
78
79
80
81
82
83
84
85

86
87
88

89
90
91
92
93
94
95
96







+





-
+


-
+







fi

defname=$topname"_def.r"
crname=$topname"_cr.r"
paramname=$topname"_params.r"
daename=$sysname"_rdae.r"
esename=$sysname"_ese.r"
logname=$sysname"_rdae.log"

# Inform user
echo Creating $daename

# Remove the old log file
rm -f ese2dae_r.log
rm -f $logname

# Use symbolic algebra to accomplish the transformation
$SYMBOLIC >ese2dae_r.log  << EOF
$SYMBOLIC >$logname  << EOF

%Read the formatting function
in "$MTTPATH/trans/reduce_matrix.r";

% Definitions
in "$defname";

130
131
132
133
134
135
136
137

138
137
138
139
140
141
142
143

144
145







-
+

write ";END;";
SHUT "$daename";
quit;

EOF

# Now invoke the standard error handling.
mtt_error_r ese2dae_r.log
mtt_error_r $logname


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