Overview
Comment: | Constitutive Relationship generation from lbl file |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
bb2c5a853dcd00647003de0600353216 |
User & Date: | gawthrop@users.sourceforge.net on 1996-11-02 10:19:19 |
Other Links: | branch diff | manifest | tags |
Context
1996-11-02
| ||
10:20:53 | Created from lbl2sympar check-in: f99cbfde86 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
10:19:19 | Constitutive Relationship generation from lbl file check-in: bb2c5a853d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
10:18:25 | Initial revision check-in: 31050810f4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt from [147895902a] to [b5a60153db].
︙ | |||
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 | + + + | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996. ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.34 1996/11/01 13:34:35 peterg ## -q (quiet) switch added ## ## Revision 1.33 1996/11/01 12:34:45 peterg ## Added browser - mtt_help ## ## Revision 1.32 1996/10/31 20:48:41 peterg ## Revised html generation. ## Stopped deletion of rep.txt file. ## |
︙ | |||
133 134 135 136 137 138 139 | 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | - - | echo 'This is free software with ABSOLUTELY NO WARRANTY.' echo 'Type `mtt warranty'\' 'for details.' echo fi if [ "$1" = "" ]; then echo 'Usage: mtt help' |
︙ | |||
158 159 160 161 162 163 164 | 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | + - - - + + + + | exit fi if [ "$1" = "help" ]; then if [ "$2" = "" ]; then echo 'Usage: mtt help reps' echo ' mtt help comps' echo ' mtt help crs' |
︙ | |||
206 207 208 209 210 211 212 | 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 | - + - + | exit fi # Clean up if [ "$1" = "clean" ] && [ "$2" = "" ]; then echo 'Removing all generated files for all systems' rm -f *.log mtt_info.txt warning.txt |
︙ | |||
298 299 300 301 302 303 304 | 301 302 303 304 305 306 307 308 309 310 311 312 313 314 | - - - | case $2 in abg ) VC='ok' VCext='fig' ;; lbl ) VC='ok' VCext='txt' ;; |
︙ | |||
348 349 350 351 352 353 354 | 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 | - + | echo "% a comment (ie starting with %)"; \ echo "% Component-name CR_name arg1,arg2,..argn"; \ echo "% blank"; \ )> $1_lbl.txt #REPRESENTATION cr constitutive relationship description (r) $1_cr.r: |
︙ | |||
435 436 437 438 439 440 441 | 435 436 437 438 439 440 441 442 443 444 445 446 447 448 | - | #REPRESENTATION abg acausal bond graph (m) #Raw bond graph to acausal bond graph: mfile $1_abg.m: $1_rbg.m $1_sub.sh echo Creating subsystem abg files for system $1 ... sh < $1_sub.sh echo Finished creating subsystem abg files for system $1 |
︙ |