Overview
| Comment: | Added rule to create _sese.m |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
2d610a3ccbaa5ed418846e05a5647287 |
| User & Date: | geraint@users.sourceforge.net on 2003-04-17 20:07:33.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2003-04-17
| ||
| 20:57:29 |
Added -sort option to allow direct generation of ode2odes.m using sese.m instead of ode/csex. "mtt -sort rc odeso view" works without Reduce installed!!! check-in: 773822c9b4 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
| 20:07:33 | Added rule to create _sese.m check-in: 2d610a3ccb user: geraint@users.sourceforge.net tags: origin/master, trunk | |
|
2003-04-13
| ||
| 14:59:18 | rc2 now works. Clutch plot is upside down !? check-in: e6fd0c6207 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt
from [9ffaa293a2]
to [92127b1f9b].
| ︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + + + | # Copyright (C) 2001 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.372 2003/03/24 12:03:36 gawthrop ## Added -I switch to sese transformation ## ## Revision 1.371 2003/03/13 15:47:35 gawthrop ## Added sese rep. ## ## Revision 1.370 2003/02/11 20:04:08 geraint ## Reverted to line-by-line optimisation as default and added caution to ## description of -optg. ## |
| ︙ | |||
1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 | 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 | + | rm -f *_ode.cc *_odeo.cc rm -f *_logic.m *_logic.cc *_logic.oct rm -f *_state.m *_state.cc *_state.oct rm -f *_ode2odes.* *.dat2 MTT.core rm -f *_modpar.txt *_modpar.r rm -f *_ICD.txt *_ICD.c *_ICD.cc *_ICD.m rm -f *_ae.r *_ae.m *_ae.cc *_ae.oct rm -f *_sese.r *_sese.m rm -fR *_rep MTT_work exit fi # Clean up named system if [ "$2" = "Clean" ] && [ "$3" = "" ]; then echo 'Removing all generated files for system ' $1 |
| ︙ | |||
1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 | 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 | + |
rm -f $1_ode.cc $1_odeo.cc
rm -f $1_logic.m $1_logic.cc $1_logic.oct
rm -f $1_state.m $1_state.cc $1_state.oct
rm -f $1_ode2odes.* $1.dat2
rm -f $1_modpar.txt $1_modpar.r
rm -f $1_ICD.txt $1_ICD.c $1_ICD.cc $1_ICD.m
rm -f $1_ae.r $1_ae.m $1_ae.cc $1_ae.oct
rm -f $1_sese.r $1_sese.m
rm -fR $1_rep MTT_work
exit
fi
if [ "$2" = "rep" ]; then
documenttype=article
# See if we are making a book -- ie representation rep on a directory
|
| ︙ | |||
2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 | 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 | + + + |
#SUMMARY def definitions - system orders etc. (h)
#SUMMARY struc* structure - list of inputs, outputs and states (txt)
#SUMMARY struc structure - list of inputs, outputs and states (tex)
#SUMMARY struc* structure - list of inputs, outputs and states (view)
#Elementary system equations + definitions
${sys}_ese.r: ${sys}_cbg.m
cbg2ese_m2r $partition $info_switch $Subsystem; #ese_tidy $1
${sys}_sese.m: ${sys}_def.r ${sys}_sese.r ${sys}_sympar.txt
mtt_r2m ${sys} sese m
${sys}_sese.r: ${sys}_cbg.m ${sys}_struc.m
cbg2sese_m2r $info_switch $Subsystem
$1_def.r: $1_ese.r
touch $1_def.r
$1_struc.txt: $1_ese.r
|
| ︙ |
Modified mttroot/mtt/bin/trans/mtt_header
from [30ee12f663]
to [9f0f43b070].
| ︙ | |||
8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | + + + | # Copyright (C) 2000 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.55 2002/10/30 01:15:20 gawthrop ## Now gives correct-size matrices for dm rep. ## ## Revision 1.54 2002/07/11 13:00:23 geraint ## Declared more function arguments to be "const" - improves compiler optimisation. ## ## Revision 1.53 2002/06/10 23:22:16 geraint ## Fixed problem with Matlab fsolve failing because of "user function returned Inf or Nan" (fsolve.m, line 245). ## ## Revision 1.52 2002/05/27 14:52:15 geraint |
| ︙ | |||
366 367 368 369 370 371 372 373 374 375 376 377 378 379 | 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 | + + + + + + + |
states=no;
inputs=no;
parameters=no;
output='mttsimpar'
oct_rep_include="#include <mtt_simpar.hh>"
oct_return_type="mtt_simpar"
;;
sese)
states=yes;
inputs=yes;
parameters=yes;
output="mttdx,mtty";
args=$eqnargs;
;;
sm)
states=no;
inputs=no;
parameters=yes;
output='mtta,mttb,mttc,mttd'
args=mttpar;
zeromatrices='a b c d';
|
| ︙ |
Modified mttroot/mtt/bin/trans/mtt_r2m
from [4a307ded95]
to [e545b03940].
| ︙ | |||
14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | + + + | # Copyright (C) 2000 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.31 2002/09/16 08:08:00 geraint ## Merged changes from global-optimisation branch. ## ## Revision 1.30.4.1 2002/09/03 23:44:43 geraint ## adding global optimisation (-optg). ## ## Revision 1.30 2002/03/26 11:59:54 geraint ## Added dummy -optimise switch to prevent falling over for -cc generation. ## ## Revision 1.29 2001/09/07 00:25:56 geraint |
| ︙ | |||
153 154 155 156 157 158 159 | 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | - + | echo Creating $out # Remove the old log file rm -f mtt_r2m.log #Header case $rep in |
| ︙ |