Overview
Comment: | Added trig and hyperbolic functions to argument exclusion list |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8e15f969b2edfec654e4211fd7d63190 |
User & Date: | gawthrop@users.sourceforge.net on 2001-05-08 15:18:12 |
Other Links: | branch diff | manifest | tags |
Context
2001-05-09
| ||
08:01:39 | Now generates the base path (for csh) as the current wd dir check-in: 4be87b5e03 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2001-05-08
| ||
15:18:12 | Added trig and hyperbolic functions to argument exclusion list check-in: 8e15f969b2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
08:30:12 |
Added line to reverse the x^y --> pow(x,y) in default _simp file to prettyfy LaTeX check-in: fdcd5d8767 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/abg2lbl_fig2txt from [f9d0cf4b05] to [5718595199].
︙ | |||
9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | + + + | # Acausal bond graph to causal bond graph: mfile format ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.11 2000/09/19 11:14:30 peterg ## Now writes the first component type header correctely ## ## Revision 1.10 2000/01/26 10:11:10 peterg ## Added I component ## ## Revision 1.9 1999/11/10 00:47:08 peterg ## Replaced ifs by a table of cr/arg information ## ## Revision 1.8 1999/11/09 22:32:41 peterg |
︙ | |||
140 141 142 143 144 145 146 147 148 149 150 151 152 153 | 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | + + | cr["IS"] = "lin"; arg["IS"] = sprintf("flow,%s;x_0%s", $2, s_arg); cr["TF"] = "lin"; arg["TF"] = sprintf("flow,%s%s", $2, s_arg); cr["GY"] = "lin"; arg["GY"] = sprintf("flow,%s%s", $2, s_arg); cr["AE"] = "lin"; arg["AE"] = sprintf("%s%s", $2, s_arg); cr["AF"] = "lin"; arg["AF"] = sprintf("%s%s", $2, s_arg); cr["CDx"] = "lin"; arg["CDx"] = sprintf("%s%s", $2, s_arg); ## Heading if (Component !~ OldComponent) print "\n% Component type", Component ## Component print "\t" $2 "\t" cr[Component] "\t\t" arg[Component]; OldComponent=Component; |
︙ |
Modified mttroot/mtt/bin/trans/abg2sympar_m2txt from [20862ba1d3] to [1bc0ed0fd1].
︙ | |||
35 36 37 38 39 40 41 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - + + + + + | } return matched; } BEGIN { var = "[%|#][PAR|VAR]"; not_an_arg = "effort flow state internal external zero unknown\ |
︙ |
Modified mttroot/mtt/bin/trans/m/figfig.m from [85fa897a2d] to [e7a6c91fd1].
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | - - + + + + + + + + + + + - - - - - + + + + + + + |
|
︙ |
Modified mttroot/mtt/bin/trans/makesubs from [afa1ff4b7d] to [070575132f].
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | + + + - + | ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/12/28 09:09:52 peterg ## Initial revision ## ## ############################################################### #Inform user echo Creating $1_subs.r cat > $1_subs.r <<EOF % Default SUBS file % File $1_subs.r % Generated by MTT on `date`. EOF cat $MTTPATH/trans/m/rcs_header.txt >> $1_subs.r cat >> $1_subs.r <<EOF % Put algebraic substitution commands here |
︙ |
Modified mttroot/mtt/bin/trans/mtt_strip_args from [bd9c5c4225] to [28faa759a2].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | + + + | #! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### # Bourne shell script: strip args # Strips unwanted bits from a list of arguments # Label file to symbolic parameters conversion # Copyright (C) 2000 by Peter J. Gawthrop ## $Id$ ## ## $Log$ ## Revision 1.3 2000/10/17 12:33:13 peterg ## Added mtt_mod to the zapped list ## ## Revision 1.2 2000/10/16 09:06:26 peterg ## Write out the system as a second columns as well ## ## Revision 1.1 2000/10/16 09:04:04 peterg ## Initial revision ## ## # Inform user |
︙ | |||
41 42 43 44 45 46 47 | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | - - + + + + + + | break; } } return matched; } BEGIN { |
︙ |
Modified mttroot/mtt/bin/trans/rdae2dae_r from [2d68ae9a32] to [96eb754660].
︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | + + + + + | # Copyright (c) P.J.Gawthrop, 1991, 1994, 1996 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.7 2001/04/11 09:44:26 gawthrop ## Fixed cc and c problems to do with pow(x,y) and integers ## mtt/lib/reduce/fix_c.r is included in rdae2dae and cse2smx_lang for ## -c, -cc and -oct options ## ## Revision 1.6 2001/02/03 13:40:45 gawthrop ## Added explicit MTTNu ## ## Revision 1.5 2000/12/28 12:39:02 peterg ## Put under RCS ## ## Revision 1.4 2000/09/04 08:42:53 peterg |
︙ | |||
125 126 127 128 129 130 131 | 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | - - - + + + + | # Remove the old log file rm -f $logname # Use symbolic algebra to accomplish the transformation $SYMBOLIC >$logname << EOF |
︙ |