Overview
Comment:Tidied output of options.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 48d012b27a7f77de5f50e78a86a7e14cd4345176af1158479d417f3421453b7f
User & Date: geraint@users.sourceforge.net on 2005-01-06 15:36:06
Other Links: branch diff | manifest | tags
Context
2005-01-06
16:03:55
Updated options list. check-in: d6a37713ef user: geraint@users.sourceforge.net tags: origin/master, trunk
15:36:06
Tidied output of options. check-in: 48d012b27a user: geraint@users.sourceforge.net tags: origin/master, trunk
14:42:33
Fixed explicit/implicit descriptions of forward/backward Euler.
Replaced -c examples with -cc.
check-in: e3d166f8ed user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [5109b25308] to [afe035df92].

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.404  2004/09/10 21:05:15  geraint
## Ensure that the system exists before proceeding.
## This should stop me from copying my home directory to MTT_work.
##
## Revision 1.403  2004/09/07 20:38:44  geraint
## Applies CRs before creating sese.make to avoid Circular dependencies.
##







>
>
>







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.405  2005/01/06 12:47:53  geraint
## Fixed generation of sese.r with -make-sort option.
##
## Revision 1.404  2004/09/10 21:05:15  geraint
## Ensure that the system exists before proceeding.
## This should stop me from copying my home directory to MTT_work.
##
## Revision 1.403  2004/09/07 20:38:44  geraint
## Applies CRs before creating sese.make to avoid Circular dependencies.
##
1736
1737
1738
1739
1740
1741
1742


1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759

1760
1761
1762
1763
1764

1765
1766

1767
1768
1769


1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781

1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795












1796
1797
1798
1799
1800
1801
1802
# Exit if just printing paths
if [ "$print" != "" ]; then
  exit
fi

if [ -z "$1" ]; then
  if [ -z "$print" ]; then


    echo 'Usage: mtt help             -- mtt on-line help'
    echo '       mtt find component   -- find location of a compound component'
    echo '       mtt info             -- info-based manual'
    echo '       mtt info topic'
    echo '       mtt hinfo            -- hypertext manual'
    echo '       mtt manual           -- pdf manual'
    echo '       mtt warranty'
    echo '       mtt clean           -- cleans up intermediate files'
    echo '       mtt rclean          -- recursively cleans up intermediate files'
    echo '       mtt Clean           -- cleans up all generated files'
    echo '       mtt <system_name> clean'
    echo '       mtt copy <system_name> <path_name>'
    echo '       mtt rename <old_name> <new_name>'
    echo '       mtt <system_name> <representation> vc' 
    echo '       mtt <system_name> <representation> <language>'
    echo '       mtt <system_name> <representation> <language> <parameters>'
    echo 'Options: -q  quiet mode -- suppress MTT banner'

    echo '         -A  solve algebraic equations symbolically'
    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 '         -cc C++ code generation'
    echo '         -cr Use cr before resolving equations'

    echo '         -d  <dir>  use directory <dir>'
    echo '         -dr <dir>  use files contained in <dir>'
    echo '         -dc Maximise derivative (not integral) causality'


    echo '         -i <implicit|euler|rk4|dassl>   Use implicit, euler, rk4 or dassl integration'
    echo '         -ae <reduce|hybrd|dassl|hooke>   Solve algebraic equations with specified solver'
    echo '         -o ode is same as dae'
    echo '         -oct use oct files in place of m files where appropriate'
    echo '         -opt optimise code generation (equivalent to -optl)'
    echo '         -optl optimise code generation (local  : line-by-line)'
    echo '         -optg optimise code generation (global : full vector) (EXPERIMENTAL)'
    echo '         -no-reduce try not to use symbolic algebra (EXPERIMENTAL)'
    echo '         -ntmpvar <N>  declare N temporary variables (default=$num_tmp_var)'
    echo '         -p  print environment variables'
    echo '         -partition partition hierachical system'
    echo '         -pdf generate pdf in place of ps'

    echo '         -r  reset time stamp on representation'
    echo '         -s  generate sensitivity BG (use mtt -s sSys rep lang)'
    echo '         -make-sort use sorted equations (sese, generated by make) (EXPERIMENTAL)'
    echo '         -sort use sorted equations (sese, generated by seqn) and Euler integration (EXPERIMENTAL)'
    echo '         -ss use steady-state info to initialise simulations'
    echo '         -stdin read input data from standard input for  simulations'
    echo '         -sub <subsystem> operate on this subsystem'
    echo '         -t  tidy mode (default)'
    echo '         -trace  Just indicate what mtt will do - but do not do it'
    echo '         -u  untidy mode (leaves files in current dir)'
    echo '         -v  verbose mode (multiple uses of -v increase the verbosity level)'
    echo '         -viewlevel <N> View N levels of hierachy'
    echo '         --version print version and exit'
    echo '         --versions print version of mtt and components and exit'












    exit
  fi
fi


if [ "$1" = "info" ]  && [ "$3" = "" ]; then
  (cd $MTT_DOC ; make --silent mtt.info)







>
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
<
<
|
<
>
|
|
>
|
<
|
>
>
|
<
|
|
|
|
<
<
|
|
|
|
>
|
|
<
<
|
|
|
|
|
|
|
<
|
|
>
>
>
>
>
>
>
>
>
>
>
>







1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766


1767

1768
1769
1770
1771
1772

1773
1774
1775
1776

1777
1778
1779
1780


1781
1782
1783
1784
1785
1786
1787


1788
1789
1790
1791
1792
1793
1794

1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
# Exit if just printing paths
if [ "$print" != "" ]; then
  exit
fi

if [ -z "$1" ]; then
  if [ -z "$print" ]; then
      cat <<EOF
Usage:
	mtt help		-- mtt on-line help
	mtt find component	-- find location of a compound component
	mtt info		-- info-based manual
	mtt info topic
	mtt hinfo		-- hypertext manual
	mtt manual		-- pdf manual
	mtt warranty
	mtt clean		-- cleans up intermediate files
	mtt rclean		-- recursively cleans up intermediate files
	mtt Clean		-- cleans up all generated files
	mtt <system_name> clean
	mtt copy <system_name> <path_name>
	mtt rename <old_name> <new_name>
	mtt <system_name> <representation> vc 
	mtt <system_name> <representation> <language>
	mtt <system_name> <representation> <language> <parameters>

Options:
 	-A		solve algebraic equations symbolically


	-abg		start at abg.m representation

	-ae <method>	algebraic equation solver: reduce|hybrd|dassl|hooke
	-cc		C++ code generation
	-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

	-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
	-pdf		generate pdf in place of ps
	-q		quiet mode -- suppress MTT banner
	-r		reset time stamp on representation
	-s		generate sensitivity BG (use mtt -s sSys rep lang)


	-ss		use steady-state info to initialise simulations
	-stdin		read input data from standard input for  simulations
	-sub <subsys>	operate on subsystem <subsys>
	-t		tidy mode (default)
	-trace		just indicate what mtt will do - but do not do it
	-u		untidy mode (leaves files in current dir)
	-v		verbose mode (multiple uses increment the verbosity)

	--version	print version and exit
	--versions	print version of mtt and components and exit
	-viewlevel <N>	view <N> levels of hierachy

Experimental options:
	-optg		globally optimise code generation (full vector)
	-make-sort	use sorted equations (sese, generated by make)
	-no-reduce	try not to use symbolic algebra
	-sort		use sorted equations (sese, generated by seqn)

Deprecated options:
	-c		c-code generation

EOF
    exit
  fi
fi


if [ "$1" = "info" ]  && [ "$3" = "" ]; then
  (cd $MTT_DOC ; make --silent mtt.info)


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