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: f13a68b3bc7f9f67c7801ff479d3829ba432bf9e45b43b99b348329c77b3f9c7
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: 51446bed6e 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: f13a68b3bc 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: b36bb9b4a5 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 ]