10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.170 1998/07/25 19:16:22 peterg
## Sorted out sympar + switch variables - new sympars rep combines both
##
## Revision 1.169 1998/07/25 16:35:12 peterg
## Incorporated mtt_p2c (uses p2c)
##
## Revision 1.168 1998/07/25 09:44:25 peterg
|
>
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.171 1998/07/25 20:37:22 peterg
## Removes -s (switches) option -- they are now assumed to be present
## I still need to shift the old switch
##
## Revision 1.170 1998/07/25 19:16:22 peterg
## Sorted out sympar + switch variables - new sympars rep combines both
##
## Revision 1.169 1998/07/25 16:35:12 peterg
## Incorporated mtt_p2c (uses p2c)
##
## Revision 1.168 1998/07/25 09:44:25 peterg
|
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
|
echo 'DT=0.1;'; \
echo 'STEPFACTOR=1;'; \
echo 'METHOD="Implicit";'; \
)> $1_simpar.txt
#SUMMARY simpar simulation information (m)
$1_simpar.m: $1_simpar.txt
echo Creating $1_simpar.m
sed 's/txt/m/'<$1_simpar.txt >$1_simpar.m
#SUMMARY simpar simulation information c header file (h)
$1_simpar.h: $1_simpar.txt
simpar_txt2h $1
#SUMMARY numpar numerical parameter declaration -- default (txt)
|
|
<
|
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
|
echo 'DT=0.1;'; \
echo 'STEPFACTOR=1;'; \
echo 'METHOD="Implicit";'; \
)> $1_simpar.txt
#SUMMARY simpar simulation information (m)
$1_simpar.m: $1_simpar.txt
tx2m $1 simpar
#SUMMARY simpar simulation information c header file (h)
$1_simpar.h: $1_simpar.txt
simpar_txt2h $1
#SUMMARY numpar numerical parameter declaration -- default (txt)
|