Overview
| Comment: | Just sets finrst input to 1 - rest to zero |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
02cf78511346f860ce3ba8e4385e9290 |
| User & Date: | gawthrop@users.sourceforge.net on 1998-07-25 09:42:09.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1998-07-25
| ||
| 09:42:37 | Now writes out an array check-in: 9d8008b2ef user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 09:42:09 | Just sets finrst input to 1 - rest to zero check-in: 02cf785113 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 09:07:40 | Removed all the MTTnnn conversions check-in: 5ec5526cb9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/struc2input_txt2txt
from [ef000f43ae]
to [583d619862].
| ︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Copyright (c) P.J.Gawthrop 1997 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.6 1998/02/24 10:14:56 peterg ## Now defaults to the steady-state values ## ## Revision 1.5 1998/02/04 12:26:47 peterg ## Simplified output format ## ## Revision 1.4 1998/02/04 11:45:05 peterg | > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Copyright (c) P.J.Gawthrop 1997 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.7 1998/07/25 08:05:41 peterg ## Reverted to original default - not using SS mechanism ## ## Revision 1.6 1998/02/24 10:14:56 peterg ## Now defaults to the steady-state values ## ## Revision 1.5 1998/02/04 12:26:47 peterg ## Simplified output format ## ## Revision 1.4 1998/02/04 11:45:05 peterg |
| ︙ | ︙ | |||
71 72 73 74 75 76 77 |
# }
#}' >> $1_input.txt
#Write out the defaults -- unit inputs
echo "# Set the inputs" >> $1_input.txt
awk '{
| | > > > > > | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# }
#}' >> $1_input.txt
#Write out the defaults -- unit inputs
echo "# Set the inputs" >> $1_input.txt
awk '{
if ($1=="input") {
if ($2==1)
printf("MTTu(%s) = 1.0; \t\# %s (%s)\n", $2,$3,$4)
else
printf("MTTu(%s) = 0.0; \t\# %s (%s)\n", $2,$3,$4)
}
}' Nu=$Nu <$1_struc.txt >> $1_input.txt
#Set some switches
if [ "$switches" = "yes" ]; then
echo >> $1_input.txt
echo "# Set the switches" >> $1_input.txt
awk '{print tolower($1) "= (t>=0);"}'< $1_switch.txt >> $1_input.txt
fi
|