Overview
Comment: | Changed comments pertaining to the parameters to use the new column 2 of the sympar file (the system type). Added blank line to separate parmeters from states. (Done in the Chester Court Hotel). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d924e27c50c2f3fe33af571032044b99 |
User & Date: | gawthrop@users.sourceforge.net on 1997-09-18 17:10:18 |
Other Links: | branch diff | manifest | tags |
Context
1997-09-18
| ||
19:38:58 | Initial revision check-in: faa9280a46 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
17:10:18 |
Changed comments pertaining to the parameters to use the new column 2 of the sympar file (the system type). Added blank line to separate parmeters from states. (Done in the Chester Court Hotel). check-in: d924e27c50 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
16:57:28 |
_sympar.txt now has a second column - the system type from whence the parameter (in the first column) came. Done on the train Glasgow-Warrington ! check-in: 942a22044b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/sympar2numpar_txt2txt from [175b4764f7] to [7a69493c1c].
︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Copyright (c) P.J.Gawthrop 1996 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ # Revision 1.5 1997/05/15 08:30:14 peterg # Now write default states (using _struc file). # # Revision 1.4 1997/05/15 07:19:19 peterg # Put back "tolower" # # Revision 1.3 1997/05/15 07:13:31 peterg | > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Copyright (c) P.J.Gawthrop 1996 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.6 1997/06/13 09:34:39 peterg ## changed [] to () ## # Revision 1.5 1997/05/15 08:30:14 peterg # Now write default states (using _struc file). # # Revision 1.4 1997/05/15 07:19:19 peterg # Put back "tolower" # # Revision 1.3 1997/05/15 07:13:31 peterg |
︙ | ︙ | |||
38 39 40 41 42 43 44 | #Create the numpar file complete with headers. echo "# Numerical parameter file ($1_numpar.txt)" > $1_numpar.txt echo "# Generated by MTT at `date`" >> $1_numpar.txt cat $MTTPATH/trans/rcs_header.txt >> $1_numpar.txt #Write out the variables echo "# Parameters" >> $1_numpar.txt | | > | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | #Create the numpar file complete with headers. echo "# Numerical parameter file ($1_numpar.txt)" > $1_numpar.txt echo "# Generated by MTT at `date`" >> $1_numpar.txt cat $MTTPATH/trans/rcs_header.txt >> $1_numpar.txt #Write out the variables echo "# Parameters" >> $1_numpar.txt awk '{i++; print tolower($1) " = \t1.0; \# Parameter " $1 " for " $2}' $1_sympar.txt \ >> $1_numpar.txt #Write out the initial states echo >> $1_numpar.txt echo "# Initial states" >> $1_numpar.txt awk '{ if ($1=="state") print "x(" $2 ") = \t0.0; \# Initial state for " $4 " (" $3 ")" }' \ $1_struc.txt >> $1_numpar.txt |