Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.170 1998/07/25 19:16:22 peterg +## Sorted out sympar + switch variables - new sympars rep combines both +## ## Revision 1.169 1998/07/25 16:35:12 peterg ## Incorporated mtt_p2c (uses p2c) ## ## Revision 1.168 1998/07/25 09:44:25 peterg ## Uses Pascal as step on the way to c code -- MUCH nicer! @@ -629,13 +632,10 @@ mtt_switches="$mtt_switches $1"; computation=c ;; -o ) mtt_switches="$mtt_switches $1"; dae_is_ode=1 ;; - -s ) - mtt_switches="$mtt_switches $1"; - switches=1 ;; -d ) directory=$2; cd $directory; shift ;; -S ) directory=$2; shift;; -D ) @@ -722,11 +722,10 @@ echo ' -v verbose mode' echo ' -I prints more information' echo ' -p print environment variables' echo ' -c c-code generation' echo ' -o ode and dae are the same' - echo ' -s use switch (ISW and CSW) components' echo ' -d use directory ' echo ' -t tidy mode (default)' echo ' -u untidy mode (leaves files in current dir)' echo ' -d use directory ' echo ' -D debug -- leave log files etc' @@ -1640,11 +1639,12 @@ $1_odeo.p : $1_def.r $1_odeo.m mtt_m2p $1_odeo.m $1_switch.p : $1_def.r $1_switch.m mtt_m2p $1_switch.m $1_ode2odes.p : $1_def.r $1_simpar.p $1_numpar.p $1_state.p $1_input.p \ - $1_ode.p $1_odeo.p $1_switch.p $1_ode2odes.m mtt_write.p + $1_ode.p $1_odeo.p $1_switch.p $1_ode2odes.m mtt_write.p \ + mtt_update.p mtt_m2p $1_ode2odes.m $1_ode2odes.c: $1_ode2odes.p mtt_p2c $info_switch $1 ode2odes @@ -2109,10 +2109,12 @@ ci -I $1_$2.$VCext