Overview
Comment: | Tidied up. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
82763fad2c35228a74869a1815af13b7 |
User & Date: | gawthrop@users.sourceforge.net on 2000-10-16 08:09:25 |
Other Links: | branch diff | manifest | tags |
Context
2000-10-16
| ||
08:20:23 |
New version with direct naming. Note ss version is broken - ss.r file in wrong format check-in: 42882a13fc user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
08:09:25 | Tidied up. check-in: 82763fad2c user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2000-10-15
| ||
10:35:35 | Fixed _input.p header check-in: c8c9db41cc user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/sympar2numpar_txt2txt from [ac82e9e0ca] to [1cce4350bc].
︙ | ︙ | |||
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.11 1998/06/15 15:14:46 peterg ## Don't print if blank line ## ## Revision 1.10 1998/03/07 15:27:20 peterg ## Don't do initial states. ## ## Revision 1.9 1998/02/04 12:24:35 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.12 1999/03/02 22:01:21 peterg ## *** empty log message *** ## ## Revision 1.11 1998/06/15 15:14:46 peterg ## Don't print if blank line ## ## Revision 1.10 1998/03/07 15:27:20 peterg ## Don't do initial states. ## ## Revision 1.9 1998/02/04 12:24:35 peterg |
︙ | ︙ | |||
48 49 50 51 52 53 54 | # # is now used as the comment symbol # # Revision 1.1 1997/05/01 07:35:48 peterg # Initial revision # ############################################################### | < | > | | | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | # # is now used as the comment symbol # # Revision 1.1 1997/05/01 07:35:48 peterg # Initial revision # ############################################################### # Inform user echo Creating $1_numpar.txt #Create the numpar file complete with headers. echo '# -*-octave-*- Put Emacs into octave-mode' > $1_numpar.txt 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 strip_comments <$1_sympar.txt |\ awk '{i++; if (NF>0) print tolower($1) " = \t1.0; \# " $2}'\ >> $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; \# " $4 " (" $3 ")" |
︙ | ︙ |