Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.257 2000/09/02 15:53:53 peterg +## Now does partitioning up to dae.view +## ## Revision 1.256 2000/09/02 14:24:06 peterg ## -sub switch introduced - works up to dae.r ## ## Revision 1.255 2000/08/30 11:43:04 peterg ## Put in the -opt switch for code optimisation @@ -991,18 +994,18 @@ mtt_switches="$mtt_switches $1"; stdin=stdin;; -sub ) mtt_switches="$mtt_switches $1 $2"; sub='-sub'; subsystem="_"$2; - shift ;; + shift;; -oct ) mtt_switches="$mtt_switches $1"; m='oct';; -opt ) mtt_switches="$mtt_switches $1"; optimise='-optimise';; - -partition ) mtt_switches="$mtt_switches $1"; - partition='-partition';; + -partition ) mtt_switches="$mtt_switches $1"; + partition='-partition';; --version) echo 'MTT version' $version; exit;; --versions) mtt_versions; exit;; *) @@ -1790,10 +1793,14 @@ $1_simp.r: echo Creating $1_simp.r ( \ echo "%% Reduce commands to simplify output for system $1 ($1_simp.r)"; \ cat $MTTPATH/trans/m/rcs_header.txt; \ + echo 'ON ALLFAC; %Multiplicative factors'; \ + echo 'OFF DIV; %Polynomial division'; \ + echo 'OFF FACTOR; %Factorise polynomials'; \ + echo 'OFF LIST; %Each term on a new line'; \ echo 'END;'; \ )> $1_simp.r #SUMMARY subs algebraic substitution (r) $Subsystem_subs.r: