1
2
3
4
5
6
7
8
9
10
|
#! /bin/sh
# $Id$
# $Log$
# Revision 1.3 2001/03/19 02:28:53 geraint
# Branch merge: merging-ode2odes-exe back to MAIN.
#
# Revision 1.2.2.1 2001/03/16 03:56:54 geraint
# Convert variable names to lower case.
#
# Revision 1.2 2001/02/05 13:03:19 geraint
|
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /bin/sh
# $Id$
# $Log$
# Revision 1.4 2001/08/24 21:41:04 geraint
# Fixed problem with declaration when there are no numerical parameters.
#
# Revision 1.3 2001/03/19 02:28:53 geraint
# Branch merge: merging-ode2odes-exe back to MAIN.
#
# Revision 1.2.2.1 2001/03/16 03:56:54 geraint
# Convert variable names to lower case.
#
# Revision 1.2 2001/02/05 13:03:19 geraint
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
TMP_VAR_NAMES="mtt_tmp mtt_o $*"
IN=${SYS}_sympar.txt
OUT=${SYS}_sympar.h
declare_sys_param ()
{
cat ${IN} | awk '(NF>0){printf ("static double %s MTT_UNUSED;\t// %s\n", tolower($1), $2)}'
}
declare_temp_vars ()
{
for name in ${TMP_VAR_NAMES}
do
echo ""
|
|
|
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
TMP_VAR_NAMES="mtt_tmp mtt_o $*"
IN=${SYS}_sympar.txt
OUT=${SYS}_sympar.h
declare_sys_param ()
{
cat ${IN} | gawk '(NF>0){printf ("static double %s MTT_UNUSED;\t// %s\n", tolower($1), $2)}'
}
declare_temp_vars ()
{
for name in ${TMP_VAR_NAMES}
do
echo ""
|