Overview
Comment: | Put in Winfried Neun's bug fix -- prevents segmentation violation using optimised gentran when matrix comtains a number |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a13084497f5021f4794f6d73dd11e29c |
User & Date: | gawthrop@users.sourceforge.net on 2000-08-28 20:17:59 |
Other Links: | branch diff | manifest | tags |
Context
2000-08-29
| ||
09:31:30 | Changed begin and end stripping to include trailing space check-in: 3a867e2989 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2000-08-28
| ||
20:17:59 |
Put in Winfried Neun's bug fix -- prevents segmentation violation using optimised gentran when matrix comtains a number check-in: a13084497f user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2000-08-25
| ||
09:25:14 | Revised to use code optimisation via scope check-in: 428902e66d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/mtt_r2m from [b6f5f8a61c] to [a9e0b889bf].
︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | + + + | # Copyright (c) P.J.Gawthrop 1991, 1994, 1995, 1996, 1998 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.18 2000/08/24 17:11:40 peterg ## Now optimises as well as segmenting - uses the SCOPE package ## ## Revision 1.17 2000/05/20 15:23:56 peterg ## Paramererised version of sm etc etc (using -parameter switch) ## ## Revision 1.16 2000/04/18 11:14:18 peterg ## Put in the -parameters option ## ## Revision 1.15 2000/02/10 14:58:57 peterg |
︙ | |||
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | + - - - - - + + + + + + + + + + + + + + + + | ## Find som constants Nx=`grep "MTTNx " <$1_def.r | awk '{print $3}' | sed 's/;//'` #Set up gentran cat <<EOF >mtt_setreduce.r % Set up the code generator % Load the general translator package LOAD GENTRAN; LOAD SCOPE; GENTRANLANG!* := '$codegenerator; ON GENTRANSEG; % Segmentation ON GENTRANOPT; % Code optimise using scope OFF GENDECS; % No declarations MAXEXPPRINTLEN!* := 80; TEMPVARNUM!* := 1; TEMPVARNAME!* := 'mtt_s; |
︙ | |||
174 175 176 177 178 179 180 | 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 | - + - + | END;; EOF if [ "$rep" = "ode" ]; then # Use reduce to accomplish the transformation |
︙ | |||
264 265 266 267 268 269 270 | 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 | - + | lang_header $noglobals $parameters $1 obs m mttx,mttu mttyy > $outfile.pas fi Symbols='obs_o obs_h' fi for Symbol in $Symbols; do rm -f $outfile.1 |
︙ | |||
319 320 321 322 323 324 325 | 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 | - - + + - + + + - + + + | fi # Set up the matrices rm -f mtt_zero.m |