Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.199 1998/12/03 16:53:50 peterg +## Now completes causality using component, not bond, status. +## ## Revision 1.198 1998/11/20 16:12:30 peterg ## Now copies aliased systems BEFORE generating rgb etc. ## ## Revision 1.197 1998/11/20 09:00:45 peterg ## Number of changes to underlying tools @@ -727,10 +730,13 @@ -ss ) mtt_switches="$mtt_switches $1"; steadystate_computation=yes ;; -d ) directory=$2; cd $directory; shift ;; + -dc ) + mtt_switches="$mtt_switches $1"; + causality_switch='-derivative' ;; -S ) directory=$2; shift;; -D ) mtt_switches="$mtt_switches $1"; debug=debug ;; @@ -819,11 +825,11 @@ echo ' -D debug -- leave log files etc' echo ' -I prints more information' echo ' -abg start at abg.m representation' echo ' -c c-code generation' echo ' -d use directory ' - echo ' -d use directory ' + echo ' -dc Maximise derivative (not integral) causality' echo ' -o ode and dae are the same' echo ' -p print environment variables' echo ' -ss use steady-state info to initialise simulations' echo ' -t tidy mode (default)' echo ' -u untidy mode (leaves files in current dir)' @@ -1664,11 +1670,12 @@ #SUMMARY cbg causal bond graph (m) #Acausal bond graph to causal bond graph: mfile $1_cbg.m: $1_abg.m - abg2cbg_m $info_switch $1 + echo abg2cbg_m $info_switch $1 + abg2cbg_m $info_switch $causality_switch $1 $1_type.sh: $1_cbg.m #SUMMARY cbg causal bond graph (fig) #SUMMARY cbg causal bond graph (ps)