Overview
Comment:Added -nas (No alphabetic sort) switch in help options
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 5c531bac1df05c5f6521fb6adf4040b37a7717226cf5b56dfa273a658215a711
User & Date: gawthrop@users.sourceforge.net on 2013-07-19 05:40:26
Other Links: branch diff | manifest | tags
Context
2013-07-19
06:54:16
No alpha sort added. check-in: 15f141eae1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
05:40:26
Added -nas (No alphabetic sort) switch in help options check-in: 5c531bac1d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
05:33:42
Optionally avoids alphabetic sort using no_alpha_sort
Use -nas switch in mtt.
check-in: 2e689e7d98 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [5e0b5636b9] to [84ca816297].

13
14
15
16
17
18
19



20
21
22
23
24
25
26
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.417  2008/07/22 17:37:01  geraint
## Fixed case of MTT_EXAMPLES
##
## Revision 1.416  2006/09/27 13:03:20  geraint
## Fixed fr.view and enabled commands to directly build ??fr.m
##
## Revision 1.415  2006/02/09 23:58:24  geraint
## rtxi: builds but does not yet work.
##
## Revision 1.414  2005/11/18 17:23:19  geraint
1725
1726
1727
1728
1729
1730
1731



1732
1733
1734
1735
1736
1737
1738
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744







+
+
+







                mtt_switches="$mtt_switches $1"; read_dir=$1
	        if [ -d "${read_dir}" ]; then
		    read_dirs="${read_dirs} ${read_dir}"
		else
		    echo "${read_dir} does not exist - ignoring"
		fi
                ;;
	-nas )  no_alpha_sort="no_alpha_sort";
                mtt_switches="$mtt_switches $1";
                ;;
	-viewlevel )  mtt_switches="$mtt_switches $1 $2";
                      viewlevel=$2;
                      shift;;
        --version)                
                  echo 'MTT version' $version; exit;;
        --versions)                
                mtt_versions; exit;;
1803
1804
1805
1806
1807
1808
1809

1810
1811
1812
1813
1814
1815
1816
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823







+







	-cr		use cr before resolving equations
	-D		debug -- leave log files etc
	-d <dir>	use directory <dir>
	-dc		maximise derivative (not integral) causality
	-dr <dir>	use files contained in <dir>
	-I		prints more information
	-i <method>	integration method: implicit|euler|rk4|dassl
        -nas            no alphabetic sort (of components)
	-o		ode is same as dae
	-oct		use oct files in place of m files where appropriate
	-opt		optimise code generation (equivalent to -optl)
	-optl		locally optimise code generation (line-by-line)
	-ntmpvar <N>	declare <N> temporary variables (default=$num_tmp_var)
	-p		print environment variables
	-partition	partition hierachical system
2988
2989
2990
2991
2992
2993
2994
2995

2996
2997
2998
2999
3000
3001
3002
2995
2996
2997
2998
2999
3000
3001

3002
3003
3004
3005
3006
3007
3008
3009







-
+







$1_rep.txt:
	makerep_txt $1;
endif

#SUMMARY rbg	raw bond graph (m)
#Raw bond graph: fig file to mfile
$1_rbg.m: $1_abg.fig  $1_lbl.txt
	rbg_fig2m $1
	rbg_fig2m $1 $no_alpha_sort

$1_cmp.m: $1_lbl.txt $1_cmp.txt
	lbl2cmp_txt2m.pl --sys=$1 --$debug

$1_fig.fig: $1_rbg.m

#SUMMARY sabg	stripped acausal bond graph (fig)


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