Overview
Comment:pi is now an implicit NOTVAR.

This eliminates the problem of duplicate declarations when -cc is used.
It also eliminates errors due to pi being defaulted to 1 in numpar.txt.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 8c1df02a650ecf1a633f9107adc1863174465c68a0e35cc03826403f43416fa8
User & Date: geraint@users.sourceforge.net on 2003-09-15 21:35:37
Other Links: branch diff | manifest | tags
Context
2003-09-22
17:38:56
gv --> ghostview check-in: e20a163d11 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2003-09-15
21:35:37
pi is now an implicit NOTVAR.

This eliminates the problem of duplicate declarations when -cc is used.
It also eliminates errors due to pi being defaulted to 1 in numpar.txt. check-in: 8c1df02a65 user: geraint@users.sourceforge.net tags: origin/master, trunk

2003-09-14
23:05:47
Made pi a constant recognised by MTT for -cc and -oct.
Required by NonlinearMSD example.
Will cause problems for models which declare pi as a parameter.
check-in: feb8094b4a user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/strip_notvars.sh from [45d48c9630] to [898b1963cb].

1
2
3
4
5
6
7
8
9
10
11



#! /bin/sh

type=$1
name=$2
file=$3

notvar="[%|#]NOT[V|P]AR"
grep ${notvar} ${type}_lbl.txt |\
    gawk '{ printf ("%s\t%s\n", $2, name) }' name=${name} \
    >> ${file}
 














>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

type=$1
name=$2
file=$3

notvar="[%|#]NOT[V|P]AR"
grep ${notvar} ${type}_lbl.txt |\
    gawk '{ printf ("%s\t%s\n", $2, name) }' name=${name} \
    >> ${file}
 
grep -i pi ${type}_lbl.txt |\
    gawk '{ printf ("pi\t%s\n", name) }' name=${name} \
    >> ${file}


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