Overview
Comment:Use ibg.m by default for both Xfig and Dia models.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 825ae28014a5bef7cf03ea4a7e1825e13d0af0135ab89e1d44985537e62ec012
User & Date: geraint@users.sourceforge.net on 2004-08-13 01:32:04
Other Links: branch diff | manifest | tags
Context
2004-08-13
01:39:24
Fixed variable names in diy makefile example (again) check-in: 60ec39985e user: geraint@users.sourceforge.net tags: origin/master, trunk
01:32:04
Use ibg.m by default for both Xfig and Dia models. check-in: 825ae28014 user: geraint@users.sourceforge.net tags: origin/master, trunk
01:30:21
Example system consisting of a stack of 2D rigid bars mounted on oscillating supports.

Demonstrates Dia-built hierarchical models, including vector ports, repeated components and aliasing of parameters. check-in: d4a035ed51 user: geraint@users.sourceforge.net tags: origin/master, trunk

Changes

Modified mttroot/mtt/bin/mtt from [b0aa34de0d] to [8b18b3607f].

13
14
15
16
17
18
19



20
21
22
23
24
25
26
# Copyright (C) 2001 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$



## Revision 1.387  2004/08/11 07:44:18  geraint
## Included cmp.m as a prerequisite for abg.m
##
## Revision 1.386  2004/08/05 00:02:57  geraint
## Uses lbl2cmp_txt2m.pl to generate _cmp.m.
##
## Revision 1.385  2004/08/02 20:25:47  geraint







>
>
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright (C) 2001 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## 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.
##
## Revision 1.387  2004/08/11 07:44:18  geraint
## Included cmp.m as a prerequisite for abg.m
##
## Revision 1.386  2004/08/05 00:02:57  geraint
## Uses lbl2cmp_txt2m.pl to generate _cmp.m.
##
## Revision 1.385  2004/08/02 20:25:47  geraint
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850

2851

2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
	sub_sh2tex -l $1
endif

#SUMMARY abg	acausal bond graph (m)
#Raw bond graph to acausal bond graph: mfile

ifneq ($start_at_abg,yes)
ifneq ($use_ibg,yes)
%_abg.m: %_abg.dia %_cmp.m %_lbl.txt %_alias.m
	abg_dia2m \$*
	(sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null  || exit 1') || exit 1

%_abg.m: %_rbg.m %_cmp.m %_lbl.txt %_alias.m %_sub.sh %_icd.m
	(sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null  || exit 1') || exit 1
	rbg2abg_m $info_switch \$*

else

.PRECIOUS: %_ibg.m
%_ibg.m: %_abg.dia %_alias.m
	abg2ibg_dia2m \$*

%_ibg.m: %_rbg.m
	@echo "EXPERIMENTAL: Creating \$@"
	rbg2ibg_m $info_switch \$*

%_abg.m: %_ibg.m %_cmp.m %_lbl.txt %_alias.m %_sub.sh %_icd.m
	@echo "EXPERIMENTAL: Creating \$@"
	(sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null  || exit 1') || exit 1
	ibg2abg_m $info_switch \$*
endif
endif

#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

$1_type.sh: $1_cbg.m







<
|
<
<
|
<

|
>
|
>




|
|


<
<
<
<
<
<







2839
2840
2841
2842
2843
2844
2845

2846


2847

2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860






2861
2862
2863
2864
2865
2866
2867
	sub_sh2tex -l $1
endif

#SUMMARY abg	acausal bond graph (m)
#Raw bond graph to acausal bond graph: mfile

ifneq ($start_at_abg,yes)

%_abg.m: %_ibg.m %_cmp.m %_lbl.txt %_alias.m %_sub.sh %_icd.m


	@echo "Creating \$@"

	(sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null  || exit 1') || exit 1
	ibg2abg_m $info_switch \$*
endif


.PRECIOUS: %_ibg.m
%_ibg.m: %_abg.dia %_alias.m
	abg2ibg_dia2m \$*

%_ibg.m: %_abg.fig %_rbg.m
	@echo "Creating \$@"
	rbg2ibg_m $info_switch \$*








#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

$1_type.sh: $1_cbg.m

Modified mttroot/mtt/debian/control from [0cec338862] to [58cbf687eb].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Source: mtt
Section: contrib/math
Priority: optional
Maintainer: Geraint <geraint@users.sourceforge.net>
Build-Depends: debhelper (>> 3.0.0)
Standards-Version: 3.5.2

Package: mtt
Architecture: all
Depends: gawk, octave, units, xfig
Recommends: mtt-examples, blas-dev, fftw-dev, c-compiler, g++, gnuplot, info-browser, lapack-dev, latex2html, libkpathsea-dev, libncurses5-dev, libreadline4-dev, pdf-viewer, postscript-viewer, octave-headers, octave-info, p2c, transfig, xterm, www-browser, wish
Suggests: scigraphica, zip
Description: Model Transformation Tools.
 A set of tools for modelling dynamic physical systems using the bond-graph methodology and transforming these models into representations suitable for analysis, control and simulation. These tools use, and generate m files for, GNU Octave.
 .
 The MTT homepage is located at http://mtt.sourceforge.net. An on-line manual is available at http://mtt.sourceforge.net/doc.
 .
 mtt requires the non-free symbolic algebra tool Reduce to be installed. Details of Reduce can be found at http://www.reduce-algebra.com









|
|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Source: mtt
Section: contrib/math
Priority: optional
Maintainer: Geraint <geraint@users.sourceforge.net>
Build-Depends: debhelper (>> 3.0.0)
Standards-Version: 3.5.2

Package: mtt
Architecture: all
Depends: gawk, octave, units, xfig, perl
Recommends: mtt-examples, blas-dev, fftw-dev, c-compiler, dia, g++, gnuplot, info-browser, lapack-dev, latex2html, libkpathsea-dev, libncurses5-dev, libreadline4-dev, libxml-dom-perl, pdf-viewer, postscript-viewer, octave-headers, octave-info, p2c, transfig, xterm, www-browser, wish
Suggests: scigraphica, zip
Description: Model Transformation Tools.
 A set of tools for modelling dynamic physical systems using the bond-graph methodology and transforming these models into representations suitable for analysis, control and simulation. These tools use, and generate m files for, GNU Octave.
 .
 The MTT homepage is located at http://mtt.sourceforge.net. An on-line manual is available at http://mtt.sourceforge.net/doc.
 .
 mtt requires the non-free symbolic algebra tool Reduce to be installed. Details of Reduce can be found at http://www.reduce-algebra.com


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]