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
|
# Copyright (c) P.J.Gawthrop 1996
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
###############################################################
# Inform user
echo Creating $1_numpar.txt
#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/m/rcs_header.txt >> $1_numpar.txt
#Write out the variables in c format.
awk '{i++; print tolower($1) " = \t1.0; \% Default value"}' $1_sympar.txt \
>> $1_numpar.txt
|
>
>
>
|
|
|
|
|
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
|
# Copyright (c) P.J.Gawthrop 1996
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# 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 "# 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 in c format.
awk '{i++; print tolower($1) " = \t1.0; \# Default value"}' $1_sympar.txt \
>> $1_numpar.txt
|