Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -15,10 +15,13 @@ ############################################################### ## 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 @@ -1770,10 +1773,11 @@ 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 @@ -1811,10 +1815,11 @@ 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 @@ -2796,10 +2801,13 @@ #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 Index: mttroot/mtt/bin/trans/mtt_header ================================================================== --- mttroot/mtt/bin/trans/mtt_header +++ mttroot/mtt/bin/trans/mtt_header @@ -10,10 +10,13 @@ ############################################################### ## 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). @@ -368,10 +371,17 @@ parameters=no; output='mttsimpar' oct_rep_include="#include " 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' Index: mttroot/mtt/bin/trans/mtt_r2m ================================================================== --- mttroot/mtt/bin/trans/mtt_r2m +++ mttroot/mtt/bin/trans/mtt_r2m @@ -16,10 +16,13 @@ ############################################################### ## 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. @@ -155,11 +158,11 @@ # Remove the old log file rm -f mtt_r2m.log #Header case $rep in - ae|csex|cseo|ode|odeo) + ae|csex|cseo|ode|odeo|sese) vectorise=yes ;; *) esac