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.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
##
|
>
>
>
>
|
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.172 1998/07/26 11:13:38 peterg
## Fixed name classes with globs - ide is that all @strong{MTT} variables
## start with @strong{MTT}
##
## 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
##
|
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)
|
|
|
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
|
echo 'DT=0.1;'; \
echo 'STEPFACTOR=1;'; \
echo 'METHOD="Implicit";'; \
)> $1_simpar.txt
#SUMMARY simpar simulation information (m)
$1_simpar.m: $1_simpar.txt
txt2m $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)
|
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
|
$1_ode.p : $1_def.r $1_ode.m
mtt_m2p $1_ode.m
$1_odeo.p : $1_def.r $1_odeo.m
mtt_m2p $1_odeo.m
$1_switch.p : $1_def.r $1_switch.m
mtt_m2p $1_switch.m
$1_ode2odes.p : $1_def.r $1_simpar.p $1_numpar.p $1_state.p $1_input.p \
$1_ode.p $1_odeo.p $1_switch.p $1_ode2odes.m mtt_write.p \
mtt_update.p
mtt_m2p $1_ode2odes.m
$1_ode2odes.c: $1_ode2odes.p
mtt_p2c $info_switch $1 ode2odes
#SUMMARY obs observer equations for CGPC (r)
#SUMMARY obs observer equations for CGPC (m)
|
|
|
|
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
|
$1_ode.p : $1_def.r $1_ode.m
mtt_m2p $1_ode.m
$1_odeo.p : $1_def.r $1_odeo.m
mtt_m2p $1_odeo.m
$1_switch.p : $1_def.r $1_switch.m
mtt_m2p $1_switch.m
$1_ode2odes.p : $1_def.r $1_simpar.p $1_numpar.p $1_state.p $1_input.p \
$1_ode.p $1_odeo.p $1_switch.p $1_ode2odes.m \
mtt_write.p mtt_update.p sign.p
mtt_m2p $1_ode2odes.m
$1_ode2odes.c: $1_ode2odes.p
mtt_p2c $info_switch $1 ode2odes
#SUMMARY obs observer equations for CGPC (r)
#SUMMARY obs observer equations for CGPC (m)
|
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
|
echo Creating RCS
mkdir RCS
$1_$2.vc: RCS
echo Version control on $1_$2.$VCext
ci -I $1_$2.$VCext </dev/tty ; co -l $1_$2.$VCext
# Copy Pascal utilities
mtt_write.p:
echo Copying mtt_write.p; cp $MTTPATH/trans/p/mtt_write.p .
mtt_update.p:
echo Copying mtt_update.p; cp $MTTPATH/trans/p/mtt_update.p .
# Copy c utilities
dsvdcmp.c: dpythag.c nrutil.c nrutil.h
|
>
>
|
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
|
echo Creating RCS
mkdir RCS
$1_$2.vc: RCS
echo Version control on $1_$2.$VCext
ci -I $1_$2.$VCext </dev/tty ; co -l $1_$2.$VCext
# Copy Pascal utilities
sign.p:
echo Copying sign.p; cp $MTTPATH/trans/p/sign.p .
mtt_write.p:
echo Copying mtt_write.p; cp $MTTPATH/trans/p/mtt_write.p .
mtt_update.p:
echo Copying mtt_update.p; cp $MTTPATH/trans/p/mtt_update.p .
# Copy c utilities
dsvdcmp.c: dpythag.c nrutil.c nrutil.h
|