Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -15,10 +15,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.360.2.2 2002/09/04 10:44:59 geraint +## Added option to specify number of tmp variables declared (-ntmpvar ). +## ## Revision 1.360.2.1 2002/09/03 23:44:43 geraint ## adding global optimisation (-optg). ## ## Revision 1.360 2002/08/20 15:51:16 gawthrop ## Update to work with ident DIY rep @@ -1468,14 +1471,14 @@ -oct ) fixcc='-fixcc' mtt_switches="$mtt_switches $1"; using_oct=yes; ;; - -opt | -optl ) + -optl ) mtt_switches="$mtt_switches $1"; optimise='-optimise_local';; - -optg ) + -opt | -optg ) mtt_switches="$mtt_switches $1"; optimise='-optimise_global';; -ntmpvar ) num_tmp_var=$2; mtt_switches="$mtt_switches $1 $2"; @@ -1570,11 +1573,11 @@ echo ' -dc Maximise derivative (not integral) causality' echo ' -i Use implicit, euler, rk4 or dassl integration' echo ' -ae Solve algebraic equations with specified solver' echo ' -o ode is same as dae' echo ' -oct use oct files in place of m files where appropriate' - echo ' -opt optimise code generation (equivalent to -lopt)' + echo ' -opt optimise code generation (equivalent to -optg)' echo ' -optl optimise code generation (local : line-by-line)' echo ' -optg optimise code generation (global : full vector)' echo " -ntmpvar declare N temporary variables (default=$num_tmp_var)" echo ' -p print environment variables' echo ' -partition partition hierachical system'