Overview
Comment:Unused file (cc/sympar_txt2h.sh does this transformation).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 43766fae90eb88ba55873e875d68631ba3da4c3ec4c02fb9712786192c19483d
User & Date: geraint@users.sourceforge.net on 2004-08-29 03:00:59
Other Links: branch diff | manifest | tags
Context
2004-08-29
03:17:02
Vectorise sesx and sesy. check-in: f640e4e94d user: geraint@users.sourceforge.net tags: origin/master, trunk
03:00:59
Unused file (cc/sympar_txt2h.sh does this transformation). check-in: 43766fae90 user: geraint@users.sourceforge.net tags: origin/master, trunk
02:59:30
Added -make-sort option and rules to generate simulation using sesx and sesy. check-in: 8d085efec2 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Deleted mttroot/mtt/bin/trans/sympar_txt2h version [d691280130].

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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59



























































-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: sympar_txt2h

# Label file to symbolic parameters conversion
# P.J.Gawthrop March 1997
# Copyright (c) P.J.Gawthrop, 1997.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.6  1997/05/15 07:21:44  peterg
## Put back "tolower"
##
# Revision 1.5  1997/05/15  07:11:45  peterg
# Removed "tolower" function
#
# Revision 1.4  1997/05/01  13:51:37  peterg
# Replaced float by double.
#
# Revision 1.3  1997/05/01  13:42:43  peterg
# Chaged double to float
#
# Revision 1.2  1997/03/20  15:14:25  peterg
# Lower case conversion.
#
# Revision 1.1  1997/03/20  14:52:41  peterg
# Initial revision
#
###############################################################



# Inform user
echo "Creating $1_sympar.h"

rm -f mtt_error

#Write some file headers
echo '/*' > $1_sympar.h
echo "Symbolic parameter file ($1_sympar.h)" >> $1_sympar.h
echo "Generated by MTT at `date`"  >> $1_sympar.h
echo '*/' >> $1_sympar.h
echo  >> $1_sympar.h


#Write out the variables in c format.
gawk '{i++; print "double", tolower($1) ";"}' $1_sympar.txt  >> $1_sympar.h

# Now invoke the standard error handling.
# mtt_error mtt_error.txt



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