Index: mttroot/mtt/bin/trans/dae2cse_r ================================================================== --- mttroot/mtt/bin/trans/dae2cse_r +++ mttroot/mtt/bin/trans/dae2cse_r @@ -13,10 +13,15 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.23.2.2 2002/09/10 23:24:19 geraint +## Rationalised local and global optimisations. +## Fixes presentation of locally optimised code (ode view). +## Much more elegant :-) +## ## Revision 1.23.2.1 2002/09/03 23:44:43 geraint ## adding global optimisation (-optg). ## ## Revision 1.23 2002/07/10 17:43:05 geraint ## Added feature [ 562453 ] Optimisation of algebraic equations. @@ -482,18 +487,18 @@ cat $1_csex.r1 $1_csex.r2 > $1_csex.r cat $1_cseo.r1 $1_cseo.r2 > $1_cseo.r if [ ${optimise:-""} = "-optimise_global" ]; then mtt_optimise global $1 ae -# TODO: mtt_optimise global $1 cse -# TODO: mtt_optimise global $1 cseo -# TODO: mtt_optimise global $1 csex + mtt_optimise global $1 cse + mtt_optimise global $1 cseo + mtt_optimise global $1 csex elif [ ${optimise:-""} = "-optimise_local" ]; then mtt_optimise local $1 ae -# TODO: mtt_optimise local $1 cse -# TODO: mtt_optimise local $1 cseo -# TODO: mtt_optimise local $1 csex + mtt_optimise local $1 cse + mtt_optimise local $1 cseo + mtt_optimise local $1 csex fi if [ "$solve" = "1" ]; then echo "Setting MTTNyz=0 in $1_def.r and updating other $1_def files" gawk '{