Overview
Comment: | Added zero second argument - sets params to zero. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d247ecf1a269742e659a9313409fb5b5 |
User & Date: | gawthrop@users.sourceforge.net on 2000-05-19 13:50:07 |
Other Links: | branch diff | manifest | tags |
Context
2000-05-19
| ||
14:05:10 | Zero parameters in the numpar.m file check-in: 89daa0c22f user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
13:50:07 | Added zero second argument - sets params to zero. check-in: d247ecf1a2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
13:15:38 | Initial revision check-in: 70b1299e51 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/sympar2par_txt2m from [e090405835] to [b5d3952873].
1 2 3 4 5 6 7 8 9 10 11 12 | #! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### # Bourne shell script: sympar2par_txt2m # Symbolic parameters parameter conversion # Used in lang_header # Copyright (C) 2000 by Peter J. Gawthrop | | | | > > > > > | | > | 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 | #! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### # Bourne shell script: sympar2par_txt2m # Symbolic parameters parameter conversion # Used in lang_header # Copyright (C) 2000 by Peter J. Gawthrop if [ "$2" = "zero" ]; then strip_comments <$1_sympar.txt |\ awk '{ i++; printf(" %s = 0.0;\n", tolower($1)); }' else strip_comments <$1_sympar.txt |\ awk '{ i++; printf(" %s = mttpar(%i);\n", tolower($1), i); }' fi |