Overview
Comment:Added new integration methods in Pascal/c version
Revised the various translations appropriately
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 6b0f7757cdd91fbd5c59b2dbe8e06276b7310acdc38075a11dfa427daaf8b86b
User & Date: gawthrop@users.sourceforge.net on 1998-08-15 13:45:28
Other Links: branch diff | manifest | tags
Context
1998-08-15
13:46:01
Included new sparse update routines check-in: 3e3969cde7 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:45:28
Added new integration methods in Pascal/c version
Revised the various translations appropriately
check-in: 6b0f7757cd user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:40:47
Initial revision check-in: b93f24a29b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [dcbb7f68fd] to [b668b45f8e].

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.179  1998/08/12 12:29:18  peterg
## Put back some of the args stuff -- needed for plots.
##
## Revision 1.178  1998/08/11 13:38:35  peterg
## Zapped the obsolete args stuff
##
## Revision 1.177  1998/07/30 17:32:44  peterg







>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.180  1998/08/12 14:15:13  peterg
## Implicit integration - c implemetation now included.
##
## Revision 1.179  1998/08/12 12:29:18  peterg
## Put back some of the args stuff -- needed for plots.
##
## Revision 1.178  1998/08/11 13:38:35  peterg
## Zapped the obsolete args stuff
##
## Revision 1.177  1998/07/30 17:32:44  peterg
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
###############################################################


#Check $MTTPATH has been set
mtt_check_var "$MTTPATH" "MTTPATH"

#Version
version='3.0'

# MTT recursion level is zero unless explicitly set
level=0

#Computation mode is octave by default
computation=octave








|







617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
###############################################################


#Check $MTTPATH has been set
mtt_check_var "$MTTPATH" "MTTPATH"

#Version
version='3.0++'

# MTT recursion level is zero unless explicitly set
level=0

#Computation mode is octave by default
computation=octave

1678
1679
1680
1681
1682
1683
1684




1685
1686
1687
1688
1689

1690
1691
1692
1693
1694
1695
1696
1697
	mtt_m2p $1_input.m
$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_smx.p : $1_def.r $1_smx.m
	mtt_m2p $1_smx.m




$1_switch.p : $1_def.r $1_switch.m
	mtt_m2p $1_switch.m
$1_ode2odes.p : $1_ode2odes.m $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_smx.p\

                mtt_write.p mtt_update.p sign.p zeros.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)







>
>
>
>




|
>
|







1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
	mtt_m2p $1_input.m
$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_smx.p : $1_def.r $1_smx.m
	mtt_m2p $1_smx.m
$1_smxx.p : $1_def.r $1_smxx.m
	mtt_m2p $1_smxx.m
$1_smxtx.p : $1_def.r $1_smxtx.m
	mtt_m2p $1_smxtx.m
$1_switch.p : $1_def.r $1_switch.m
	mtt_m2p $1_switch.m
$1_ode2odes.p : $1_ode2odes.m $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_smx.p $1_smxx.p $1_smxtx.p  \
                mtt_write.p mtt_update.p sign.p zero_matrix.p zero_vector.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)
1773
1774
1775
1776
1777
1778
1779


1780
1781
1782
1783




1784
1785
1786
1787
1788
1789
1790
$1_sm.c: $1_def.r $1_sm.r $1_sympar.c
		sm_r2c $1
$1_sm.tex: $1_sm.r  $1_sympar.r $1_simp.r
	sm_r2tex $1; latex_tidy $1_sm.tex

#SUMMARY smx	state matrices with variable state x (r)
#SUMMARY smx	state matrices with variable state x (m)


$1_smx.r: $1_def.r $1_def.m $1_ode.r 
		ode2smx_lang $1 r; tidy $1_smx.r
$1_smx.m: $1_def.r $1_def.m $1_ode.r $1_sympars.txt
		ode2smx_lang $1 m;





#SUMMARY smc	controller form state matrices etc. - siso only (r)
#SUMMARY smc	controller form state matrices etc. - siso only (tex)
#SUMMARY smc	controller form state matrices etc. - siso only (m)
#SUMMARY smc	controller form state matrices etc. - siso only (view)
#SUMMARY smc	controller form state matrices etc. - siso only (ps)
#Linearised system: controller form state matrices etc.







>
>




>
>
>
>







1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
$1_sm.c: $1_def.r $1_sm.r $1_sympar.c
		sm_r2c $1
$1_sm.tex: $1_sm.r  $1_sympar.r $1_simp.r
	sm_r2tex $1; latex_tidy $1_sm.tex

#SUMMARY smx	state matrices with variable state x (r)
#SUMMARY smx	state matrices with variable state x (m)
#SUMMARY smxx	Sparse computation of Ax (m)
#SUMMARY smxtx	Sparse computation of ATx (m)
$1_smx.r: $1_def.r $1_def.m $1_ode.r 
		ode2smx_lang $1 r; tidy $1_smx.r
$1_smx.m: $1_def.r $1_def.m $1_ode.r $1_sympars.txt
		ode2smx_lang $1 m;
$1_smxx.m: $1_smx.m
		touch $1_smxx.m
$1_smxtx.m: $1_smx.m
		touch $1_smxtx.m

#SUMMARY smc	controller form state matrices etc. - siso only (r)
#SUMMARY smc	controller form state matrices etc. - siso only (tex)
#SUMMARY smc	controller form state matrices etc. - siso only (m)
#SUMMARY smc	controller form state matrices etc. - siso only (view)
#SUMMARY smc	controller form state matrices etc. - siso only (ps)
#Linearised system: controller form state matrices etc.
2168
2169
2170
2171
2172
2173
2174


2175
2176
2177
2178
2179
2180
2181
2182


2183
2184
2185
2186
2187
2188
2189
# Copy Pascal utilities
sign.p: 
	echo Copying sign.p; cp $MTTPATH/trans/p/sign.p .
svdcmp.p: 
	echo Copying svdcmp.p; cp $MTTPATH/trans/p/svdcmp.p .
svbksb.p: 
	echo Copying svbksb.p; cp $MTTPATH/trans/p/svbksb.p .


mtt_write.p: 
	echo Copying mtt_write.p; cp $MTTPATH/trans/p/mtt_write.p .
mtt_update.p: mtt_solve.p
	echo Copying mtt_update.p; cp $MTTPATH/trans/p/mtt_update.p .
mtt_solve.p: svdcmp.p svbksb.p
	echo Copying mtt_solve.p; cp $MTTPATH/trans/p/mtt_solve.p .
zeros.p: 
	echo Copying zeros.p; cp $MTTPATH/trans/p/zeros.p .



# Copy c utilities
dsvdcmp.c: dpythag.c nrutil.c nrutil.h
	echo Copying dsvdcmp.c; cp $MTTPATH/trans/c/dsvdcmp.c .
dpythag.c: 
	echo Copying dpythag.c; cp $MTTPATH/trans/c/dpythag.c .
nrutil.c: 







>
>


|



|
|
>
>







2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
# Copy Pascal utilities
sign.p: 
	echo Copying sign.p; cp $MTTPATH/trans/p/sign.p .
svdcmp.p: 
	echo Copying svdcmp.p; cp $MTTPATH/trans/p/svdcmp.p .
svbksb.p: 
	echo Copying svbksb.p; cp $MTTPATH/trans/p/svbksb.p .
mtt_sparse.p: 
	echo Copying mtt_sparse.p; cp $MTTPATH/trans/p/mtt_sparse.p .
mtt_write.p: 
	echo Copying mtt_write.p; cp $MTTPATH/trans/p/mtt_write.p .
mtt_update.p: mtt_solve.p mtt_sparse.p
	echo Copying mtt_update.p; cp $MTTPATH/trans/p/mtt_update.p .
mtt_solve.p: svdcmp.p svbksb.p
	echo Copying mtt_solve.p; cp $MTTPATH/trans/p/mtt_solve.p .
zero_vector.p: 
	echo Copying zero_vector.p; cp $MTTPATH/trans/p/zero_vector.p .
zero_matrix.p: 
	echo Copying zero_matrix.p; cp $MTTPATH/trans/p/zero_matrix.p .

# Copy c utilities
dsvdcmp.c: dpythag.c nrutil.c nrutil.h
	echo Copying dsvdcmp.c; cp $MTTPATH/trans/c/dsvdcmp.c .
dpythag.c: 
	echo Copying dpythag.c; cp $MTTPATH/trans/c/dpythag.c .
nrutil.c: 


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]