Overview
Comment: | Added symbolic solution of alg. equations (-A) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
38619f5a5751aa586e2c89d01f03daea |
User & Date: | gawthrop@users.sourceforge.net on 1998-05-24 15:43:10 |
Other Links: | branch diff | manifest | tags |
Context
1998-05-28
| ||
09:24:41 | Initial revision check-in: a91bdfab36 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1998-05-24
| ||
15:43:10 | Added symbolic solution of alg. equations (-A) check-in: 38619f5a57 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
12:47:39 | This still needs worjk doing for c generation!! check-in: 3a08793cf5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt from [e984137cd8] to [6a744d3ca5].
︙ | ︙ | |||
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. ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.150 1998/05/19 19:47:37 peterg ## Updated the odesso representation to use simpar file. ## ## Revision 1.149 1998/05/14 15:16:13 peterg ## Sorted out Differential-Algebraic Equation simulation ## Added LSODE methode to ordinary differential equation simulation ## | > > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996. ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.151 1998/05/23 16:18:37 peterg ## ordinary differential equation.m files generated with the new ode2lang ## method. ## ## Revision 1.150 1998/05/19 19:47:37 peterg ## Updated the odesso representation to use simpar file. ## ## Revision 1.149 1998/05/14 15:16:13 peterg ## Sorted out Differential-Algebraic Equation simulation ## Added LSODE methode to ordinary differential equation simulation ## |
︙ | ︙ | |||
581 582 583 584 585 586 587 588 589 590 591 592 593 594 | tidy=tidy; verytidy=verytidy ;; -u ) tidy=untidy ;; -l ) mtt_switches="$mtt_switches $1"; level=$2; shift ;; *) echo "$1 is an invalid argument - ignoring" ;; esac shift done #Print header if not in quiet (-q) mode. | > > > | 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 | tidy=tidy; verytidy=verytidy ;; -u ) tidy=untidy ;; -l ) mtt_switches="$mtt_switches $1"; level=$2; shift ;; -A ) mtt_switches="$mtt_switches $1"; Solving='Solving';; *) echo "$1 is an invalid argument - ignoring" ;; esac shift done #Print header if not in quiet (-q) mode. |
︙ | ︙ | |||
638 639 640 641 642 643 644 645 646 647 648 649 650 651 | echo ' -o ode and dae are the same' echo ' -s use switch (ISW and CSW) components' echo ' -d <dir> use directory <dir>' echo ' -t tidy mode (default)' echo ' -u untidy mode (leaves files in current dir)' echo ' -d <dir> use directory <dir>' echo ' -D debug -- leave log files etc' exit fi fi if [ "$1" = "info" ] && [ "$3" = "" ]; then echo Invoking info | > | 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 | echo ' -o ode and dae are the same' echo ' -s use switch (ISW and CSW) components' echo ' -d <dir> use directory <dir>' echo ' -t tidy mode (default)' echo ' -u untidy mode (leaves files in current dir)' echo ' -d <dir> use directory <dir>' echo ' -D debug -- leave log files etc' echo ' -A solve algebraic equations symbolically' exit fi fi if [ "$1" = "info" ] && [ "$3" = "" ]; then echo Invoking info |
︙ | ︙ | |||
1427 1428 1429 1430 1431 1432 1433 | #SUMMARY cse constrained-state equations (r) #SUMMARY cse constrained-state equations (m) #SUMMARY cse constrained-state equations (tex) #SUMMARY cse constrained-state equations (view) #SUMMARY cse constrained-state equations (ps) #Constrained-state equations $1_cse.r: $1_dae.r $1_def.r $1_sympar.r | | | 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 | #SUMMARY cse constrained-state equations (r) #SUMMARY cse constrained-state equations (m) #SUMMARY cse constrained-state equations (tex) #SUMMARY cse constrained-state equations (view) #SUMMARY cse constrained-state equations (ps) #Constrained-state equations $1_cse.r: $1_dae.r $1_def.r $1_sympar.r dae2cse_r $1 "$Solving" ; tidy $1_cse.r $1_cse.m: $1_def.r $1_cse.r $1_sympar.r cse_r2m $1; matlab_tidy $1_cse.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) |
︙ | ︙ | |||
1449 1450 1451 1452 1453 1454 1455 | cse2ode_r $1; tidy $1_ode.r endif ifeq ($dae_is_ode,1) $1_ode.r: $1_dae.r echo Copying $1_dae.r to $1_ode.r cp $1_dae.r $1_ode.r endif | | | | 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 | cse2ode_r $1; tidy $1_ode.r endif ifeq ($dae_is_ode,1) $1_ode.r: $1_dae.r echo Copying $1_dae.r to $1_ode.r cp $1_dae.r $1_ode.r endif $1_ode.m: $1_def.m $1_ode.r $1_sympar.r ode_r2lang $1 m; \ matlab_tidy $1_ode.m; \ matlab_tidy $1_odea.m; \ matlab_tidy $1_odeo.m $1_odea.m: $1_ode.m touch $1_odea.m $1_odeo.m: $1_ode.m touch $1_odeo.m $1_ode.c: $1_def.r $1_ode.r $1_sympar.r $1_sympar.c ode_r2c $1 $1_ode.tex: $1_ode.r $1_sympar.r $1_simp.r ode_r2tex $1; latex_tidy $1_ode.tex #SUMMARY obs observer equations for CGPC (r) #SUMMARY obs observer equations for CGPC (m) #SUMMARY obs observer equations for CGPC (tex) #SUMMARY obs observer equations for CGPC (view) |
︙ | ︙ | |||
1676 1677 1678 1679 1680 1681 1682 | $1_iro.m: $1_ir.m touch $1_iro.m $1_sr.m: $1_sm.m $1_numpar.m $1_simpar.m $1_def.m sm2sr_m $1 $1_sro.m: $1_sr.m touch $1_sro.m $1_odes.c: $1_ode.c $1_def.r $1_sympar.r | | | 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 | $1_iro.m: $1_ir.m touch $1_iro.m $1_sr.m: $1_sm.m $1_numpar.m $1_simpar.m $1_def.m sm2sr_m $1 $1_sro.m: $1_sr.m touch $1_sro.m $1_odes.c: $1_ode.c $1_def.r $1_sympar.r ode2odes_r2c $1 $1_sms.c: $1_sm.c $1_def.r $1_sympar.r sm2sms_r2c $1 ifeq ($computation,octave) $1_odes.m: $1_ode.m $1_numpar.m $1_def.m $1_input.m $1_state.m $1_simpar.m ode2odes_m $1 endif |
︙ | ︙ |