Overview
Comment: | Version to eric. -stdin switch added |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d32fbc4a33c655a98c7f55a8fdc307a5 |
User & Date: | gawthrop@users.sourceforge.net on 1999-12-03 00:04:50 |
Other Links: | branch diff | manifest | tags |
Context
1999-12-07
| ||
23:09:56 | Put in View option to momitor progress graphically check-in: 323dea6866 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1999-12-03
| ||
00:04:50 |
Version to eric. -stdin switch added check-in: d32fbc4a33 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1999-12-02
| ||
01:09:14 | Ready for change to using external inputs.... check-in: 6784ffd287 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt from [c6d7fc8a91] to [6d4fbc4203].
︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996, 1997,1998,1999 ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.216 1999/11/16 05:53:21 peterg ## Added sensitivity (-s) switch ## ## Revision 1.215 1999/11/15 22:45:31 peterg ## Reorganised integration method using -i switch ## Introduced -r (reset) switch ## | > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996, 1997,1998,1999 ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.217 1999/11/16 22:15:55 peterg ## Changed compcopy to test for abg, not lbl file ## ## Revision 1.216 1999/11/16 05:53:21 peterg ## Added sensitivity (-s) switch ## ## Revision 1.215 1999/11/15 22:45:31 peterg ## Reorganised integration method using -i switch ## Introduced -r (reset) switch ## |
︙ | ︙ | |||
733 734 735 736 737 738 739 | ############################################################### #Check $MTTPATH has been set mtt_check_var "$MTTPATH" "MTTPATH" #Version | | | 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 | ############################################################### #Check $MTTPATH has been set mtt_check_var "$MTTPATH" "MTTPATH" #Version version='4.0--' # MTT recursion level is zero unless explicitly set level=0 #Computation mode is octave by default computation=octave |
︙ | ︙ | |||
844 845 846 847 848 849 850 851 852 853 854 855 856 857 | level=$2; shift ;; -A ) mtt_switches="$mtt_switches $1"; Solve='-A';; -abg ) mtt_switches="$mtt_switches $1"; start_at_abg='yes';; --version) echo 'MTT version' $version; exit;; --versions) mtt_versions; exit;; *) echo "$1 is an invalid argument - ignoring" ;; esac | > > > | 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 | level=$2; shift ;; -A ) mtt_switches="$mtt_switches $1"; Solve='-A';; -abg ) mtt_switches="$mtt_switches $1"; start_at_abg='yes';; -stdin ) mtt_switches="$mtt_switches $1"; source=stdin;; --version) echo 'MTT version' $version; exit;; --versions) mtt_versions; exit;; *) echo "$1 is an invalid argument - ignoring" ;; esac |
︙ | ︙ | |||
916 917 918 919 920 921 922 923 924 925 926 927 928 929 | echo ' -dc Maximise derivative (not integral) causality' echo ' -i implicit Use implicit integration' echo ' -i euler Use Euler integration' echo ' -p print environment variables' echo ' -r reset time stamp on representation' echo ' -s try to generate sensitivity BG (experimental)' echo ' -ss use steady-state info to initialise simulations' echo ' -t tidy mode (default)' echo ' -u untidy mode (leaves files in current dir)' echo ' -v verbose mode' echo ' --version print version and exit' echo ' --versions print version of mtt and components and exit' exit fi | > | 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 | echo ' -dc Maximise derivative (not integral) causality' echo ' -i implicit Use implicit integration' echo ' -i euler Use Euler integration' echo ' -p print environment variables' echo ' -r reset time stamp on representation' echo ' -s try to generate sensitivity BG (experimental)' echo ' -ss use steady-state info to initialise simulations' echo ' -stdin read input data from standard input for simulations' echo ' -t tidy mode (default)' echo ' -u untidy mode (leaves files in current dir)' echo ' -v verbose mode' echo ' --version print version and exit' echo ' --versions print version of mtt and components and exit' exit fi |
︙ | ︙ | |||
1152 1153 1154 1155 1156 1157 1158 | fi destination=$4 if [ -z "$destination" ]; then destination='.' fi # check that its not here already | | | 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 | fi destination=$4 if [ -z "$destination" ]; then destination='.' fi # check that its not here already file_exists=`ls $destination/"$name"_abg.fig 2> /dev/null` if [ -n "$file_exists" ]; then if [ "$quiet" != "quiet" ]; then echo Component $name exists already - no action taken fi else if [ $source = "." ]; then cp -u *_*.* $destination |
︙ | ︙ | |||
1373 1374 1375 1376 1377 1378 1379 | if [ -f "$filename" ]; then echo $filename exists else echo make -f $2_rep.make "SYS=$1" "LANG=$3" "ARG=$4" make -f $2_rep.make "SYS=$1" "LANG=$3" "ARG=$" if [ -n "$4" ]; then | | | | 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 | if [ -f "$filename" ]; then echo $filename exists else echo make -f $2_rep.make "SYS=$1" "LANG=$3" "ARG=$4" make -f $2_rep.make "SYS=$1" "LANG=$3" "ARG=$" if [ -n "$4" ]; then echo Copying $1_$2$__ARGS.ps cp $1_$2$__ARGS.ps .. fi fi exit fi ## Check for pre version 4.0 integration method specification. if [ $level = "0" ]; then |
︙ | ︙ | |||
1644 1645 1646 1647 1648 1649 1650 | #SUMMARY numpar numerical parameter declaration -- default (txt) $1_numpar.txt: mtt $mtt_switches -q -u $1 sympar txt; sympar2numpar_txt2txt $1 #SUMMARY numpar numerical parameter declaration (m) | | | 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 | #SUMMARY numpar numerical parameter declaration -- default (txt) $1_numpar.txt: mtt $mtt_switches -q -u $1 sympar txt; sympar2numpar_txt2txt $1 #SUMMARY numpar numerical parameter declaration (m) $1_numpar.m: $1_numpar.txt txt2m $1 numpar #SUMMARY numpar numerical parameter declaration (c) #SUMMARY numpar numerical parameter declaration (view) $1_numpar.c: $1_numpar.txt $1_sympar.c txt2c $1 numpar |
︙ | ︙ | |||
1865 1866 1867 1868 1869 1870 1871 | #SUMMARY dae* differential-algebraic equations (view) #SUMMARY dae differential-algebraic equations (ps) #Differential-algebraic equations $1_rdae.r: $1_ese.r $1_def.r ese2rdae_r $1; tidy $1_rdae.r $1_dae.r: $1_rdae.r $1_def.r $1_subs.r $1_cr.r rdae2dae_r $1; tidy $1_dae.r | | | 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 | #SUMMARY dae* differential-algebraic equations (view) #SUMMARY dae differential-algebraic equations (ps) #Differential-algebraic equations $1_rdae.r: $1_ese.r $1_def.r ese2rdae_r $1; tidy $1_rdae.r $1_dae.r: $1_rdae.r $1_def.r $1_subs.r $1_cr.r rdae2dae_r $1; tidy $1_dae.r $1_dae.m: $1_def.r $1_dae.r $1_sympars.txt dae_r2m $1; matlab_tidy $1_dae.m; matlab_tidy $1_daeo.m $1_dae.c: $1_def.r $1_dae.r $1_sympar.r dae_r2c $1; c_tidy $1_dae.c $1_dae.tex: $1_dae.r $1_simp.r dae_r2tex $1; latex_tidy $1_dae.tex #SUMMARY cse constrained-state equations (r) |
︙ | ︙ | |||
1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 | #$1_cse.m: $1_def.r $1_cse.r $1_sympar.r $1_subs.r # cse_r2m $1; matlab_tidy $1_cse.m $1_cse.m: $1_def.m $1_cse.r $1_sympars.txt mtt_r2m $1 cse; matlab_tidy $1_cse.m; matlab_tidy $1_cseo.m; $1_cse.tex: $1_cse.r $1_sympar.r $1_simp.r cse_r2tex $1; latex_tidy $1_cse.tex #SUMMARY ode ordinary differential equations (r) #SUMMARY ode* ordinary differential equations (m) #SUMMARY ode ordinary differential equations (c) #SUMMARY ode ordinary differential equations (tex) #SUMMARY ode* ordinary differential equations (view) #SUMMARY ode ordinary differential equations (ps) | > > > > > > > > > > > > > > > | 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 | #$1_cse.m: $1_def.r $1_cse.r $1_sympar.r $1_subs.r # cse_r2m $1; matlab_tidy $1_cse.m $1_cse.m: $1_def.m $1_cse.r $1_sympars.txt mtt_r2m $1 cse; matlab_tidy $1_cse.m; matlab_tidy $1_cseo.m; $1_cse.tex: $1_cse.r $1_sympar.r $1_simp.r cse_r2tex $1; latex_tidy $1_cse.tex #SUMMARY scse sensitivity constrained-state equations (r) #SUMMARY scse sensitivity constrained-state equations (tex) #SUMMARY scse sensitivity constrained-state equations (ps) $1_scse.r: $1_cse.r $1_def.r cse2scse_r $1 "$4"; tidy $1_scse.r #$1_cse.m: $1_def.r $1_cse.r $1_sympar.r $1_subs.r # cse_r2m $1; matlab_tidy $1_cse.m $1_scse.m: $1_def.m $1_scse.r $1_sympars.txt mtt_r2m $1 scse; matlab_tidy $1_scse.m; matlab_tidy $1_scseo.m; $1_scse.tex: $1_scse.r $1_sympar.r $1_simp.r cse_r2tex $1 $2; latex_tidy $1_scse.tex #SUMMARY ode ordinary differential equations (r) #SUMMARY ode* ordinary differential equations (m) #SUMMARY ode ordinary differential equations (c) #SUMMARY ode ordinary differential equations (tex) #SUMMARY ode* ordinary differential equations (view) #SUMMARY ode ordinary differential equations (ps) |
︙ | ︙ | |||
1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 | #SUMMARY state state declaration (p) $1_simpar.p : $1_def.r $1_simpar.m mtt_m2p $1_simpar.m $1_numpar.p : $1_def.r $1_numpar.m mtt_m2p $1_numpar.m $1_state.p : $1_def.r $1_state.m mtt_m2p $1_state.m $1_input.p : $1_def.r $1_input.m mtt_m2p $1_input.m $1_ode.p : $1_def.r $1_ode.m mtt_m2p $1_ode.m $1_odeo.p : $1_def.r $1_odeo.m mtt_m2p $1_odeo.m $1_cse.p : $1_def.r $1_cse.m mtt_m2p $1_cse.m $1_cseo.p : $1_def.r $1_cseo.m | > > > > > > > | 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 | #SUMMARY state state declaration (p) $1_simpar.p : $1_def.r $1_simpar.m mtt_m2p $1_simpar.m $1_numpar.p : $1_def.r $1_numpar.m mtt_m2p $1_numpar.m $1_state.p : $1_def.r $1_state.m mtt_m2p $1_state.m ifeq ($source,stdin) $1_input.p : $1_def.r make_stdin $1 p else $1_input.p : $1_def.r $1_input.m mtt_m2p $1_input.m endif $1_ode.p : $1_def.r $1_ode.m mtt_m2p $1_ode.m $1_odeo.p : $1_def.r $1_odeo.m mtt_m2p $1_odeo.m $1_cse.p : $1_def.r $1_cse.m mtt_m2p $1_cse.m $1_cseo.p : $1_def.r $1_cseo.m |
︙ | ︙ | |||
2022 2023 2024 2025 2026 2027 2028 | #SUMMARY dm* descriptor matrices (m) #SUMMARY dm descriptor matrices (tex) #SUMMARY dm* descriptor matrices (view) #SUMMARY dm descriptor matrices (ps) #Linearised system: descriptor matrices $1_dm.r: $1_dae.r $1_def.r $1_cr.r $1_ss.r $1_sympar.r dae2dm_r $1; tidy $1_dm.r | | | | | > > > > > > > > > > > > | | > > > > > > > > > > > > > | 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 | #SUMMARY dm* descriptor matrices (m) #SUMMARY dm descriptor matrices (tex) #SUMMARY dm* descriptor matrices (view) #SUMMARY dm descriptor matrices (ps) #Linearised system: descriptor matrices $1_dm.r: $1_dae.r $1_def.r $1_cr.r $1_ss.r $1_sympar.r dae2dm_r $1; tidy $1_dm.r $1_dm.m: $1_def.r $1_dm.r $1_sympars.txt mtt_r2m $1 dm $1_dm.tex: $1_dm.r $1_sympar.r $1_simp.r dm_r2tex $1; latex_tidy $1_dm.tex #SUMMARY csm constrained-state matrices (r) #SUMMARY csm constrained-state matrices (m) #SUMMARY csm constrained-state matrices (tex) #SUMMARY csm constrained-state matrices (view) #SUMMARY csm constrained-state matrices (ps) #Linearised system: constrained-state matrices $1_csm.r: $1_cse.r $1_def.r $1_cr.r $1_ss.r $1_sympar.r cse2csm_r $1 csm; tidy $1_csm.r $1_csm.m: $1_def.r $1_csm.r csm_r2m $1 csm; matlab_tidy $1_csm.m $1_csm.tex: $1_csm.r $1_sympar.r $1_simp.r csm_r2tex $1 csm; latex_tidy $1_csm.tex #SUMMARY scsm sensitivity constrained-state matrices (r) #SUMMARY scsm sensitivity constrained-state matrices (m) #SUMMARY scsm sensitivity constrained-state matrices (tex) #SUMMARY scsm sensitivity constrained-state matrices (view) #SUMMARY scsm sensitivity constrained-state matrices (ps) #Linearised system: sensitivity constrained-state matrices $1_scsm.r: $1_scse.r $1_def.r $1_cr.r $1_sympar.r cse2csm_r $1 scsm; tidy $1_scsm.r $1_scsm.m: $1_def.r $1_scsm.r $1_sympars.txt csm_r2m $1 scsm; matlab_tidy $1_scsm.m $1_scsm.tex: $1_scsm.r $1_sympar.r $1_simp.r csm_r2tex $1 scsm; latex_tidy $1_scsm.tex #SUMMARY sm state matrices (r) #SUMMARY sm* state matrices (m) #SUMMARY sm state matrices (icad) #SUMMARY sm state matrices (tex) #SUMMARY sm state matrices (c) #SUMMARY sm* state matrices (view) #SUMMARY sm state matrices (ps) #Linearised system: state matrices $1_sm.r: $1_csm.r $1_def.r $1_cr.r $1_ss.r $1_sympar.r csm2sm_r $1 sm; tidy $1_sm.r $1_sm.m: $1_def.r $1_sm.r $1_sympars.txt mtt_r2m $1 sm $1_sm.icad: $1_sm.m $1_numpar.m sm_m2icad $1 $1_sm.c: $1_def.r $1_sm.r $1_sympar.c sm_r2c $1 $1_sm.tex: $1_sm.r $1_sympar.r $1_simp.r sm_r2tex $1 sm; latex_tidy $1_sm.tex #SUMMARY ssm sensitivity state matrices (r) #SUMMARY ssm sensitivity state matrices (icad) #SUMMARY ssm sensitivity state matrices (tex) #SUMMARY ssm sensitivity state matrices (c) #SUMMARY ssm sensitivity state matrices (ps) #Linearised system: sensitivity state matrices $1_ssm.r: $1_scsm.r $1_def.r $1_cr.r $1_ss.r $1_sympar.r csm2sm_r $1 ssm; tidy $1_ssm.r $1_ssm.m: $1_def.r $1_ssm.r $1_sympars.txt mtt_r2m $1 ssm $1_ssm.tex: $1_ssm.r $1_sympar.r $1_simp.r sm_r2tex $1 ssm; latex_tidy $1_ssm.tex #SUMMARY smx state matrices with variable state x (r) #SUMMARY smx state matrices with variable state x (m) #SUMMARY smxx Sparse computation of Ax (m) #SUMMARY smxtx Sparse computation of ATx (m) $1_smx.r: $1_def.r $1_def.m $1_ode.r $1_subs.r ode2smx_lang $1 r; tidy $1_smx.r |
︙ | ︙ |