Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -15,10 +15,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.390 2004/08/13 09:49:13 geraint +## Only use one level of MTT_work to prevent MTT from repeatedly copying or creating the same files. +## ## Revision 1.389 2004/08/13 01:32:03 geraint ## Use ibg.m by default for both Xfig and Dia models. ## ## Revision 1.388 2004/08/11 08:18:07 geraint ## Ignores diy make files if the file ${rep}_rep.make.ignore exists, thus allowing user-defined makefiles to use the default MTT rules for languages which they do not override. See odes_rep.make and odeso_rep.make for an example of its use. @@ -1913,10 +1916,11 @@ *) esac #SUMMARY abg* acausal bond graph (fig) +#SUMMARY abg* acausal bond graph (dia) #SUMMARY abg* acausal bond graph (ps) #SUMMARY abg* acausal bond graph (view) # Invoke explicit requests for modification if [ "$2" = "abg" ] && [ "$3" = "fig" ]; then mtt_check_var "$FIG" FIG @@ -2859,10 +2863,12 @@ %_ibg.m: %_abg.fig %_rbg.m @echo "Creating \$@" rbg2ibg_m $info_switch \$* +%_connections.dat: %_abg.m + abg2connections_m2dat \$* #SUMMARY cbg* causal bond graph (m) #Acausal bond graph to causal bond graph: mfile $1_cbg.m: $1_abg.m abg2cbg_m $info_switch $causality_switch $1 @@ -2869,16 +2875,20 @@ $1_type.sh: $1_cbg.m touch $1_type.sh #SUMMARY cbg* causal bond graph (fig) +#SUMMARY cbg* causal bond graph (dia) #SUMMARY cbg* causal bond graph (ps) #SUMMARY cbg* causal bond graph (view) #Causal bond graph: mfile to fig conversion $1_cbg.fig: $1_cbg.m $1_fig.fig $1_type.sh sh $1_type.sh 'echo cbg_m2fig ' ' ' ' ' | sh +$1_cbg.dia: $1_cbg.m + @sh $1_type.sh 'cbg_m2dia ' ' ' ' ' + #SUMMARY ese elementary system equations (r) #SUMMARY def definitions - system orders etc. (r) #SUMMARY def definitions - system orders etc. (m) #SUMMARY def definitions - system orders etc. (h) #SUMMARY struc* structure - list of inputs, outputs and states (txt)