︙ | | | ︙ | |
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.192 1998/09/29 20:09:46 peterg
## Fixed nyfr and nifr plotting bug
##
## Revision 1.191 1998/09/02 12:05:39 peterg
## Added INPUT to simpar
##
## Revision 1.190 1998/09/02 11:48:51 peterg
|
>
>
>
|
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.193 1998/10/01 16:11:42 peterg
## Implicit integration now handles switches
##
## Revision 1.192 1998/09/29 20:09:46 peterg
## Fixed nyfr and nifr plotting bug
##
## Revision 1.191 1998/09/02 12:05:39 peterg
## Added INPUT to simpar
##
## Revision 1.190 1998/09/02 11:48:51 peterg
|
︙ | | | ︙ | |
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
|
###############################################################
#Check $MTTPATH has been set
mtt_check_var "$MTTPATH" "MTTPATH"
#Version
version='3.2'
# MTT recursion level is zero unless explicitly set
level=0
#Computation mode is octave by default
computation=octave
|
|
|
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
|
###############################################################
#Check $MTTPATH has been set
mtt_check_var "$MTTPATH" "MTTPATH"
#Version
version='3.3'
# MTT recursion level is zero unless explicitly set
level=0
#Computation mode is octave by default
computation=octave
|
︙ | | | ︙ | |
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
|
-A )
mtt_switches="$mtt_switches $1";
Solving='Solving';;
-abg )
mtt_switches="$mtt_switches $1";
start_at_abg='yes';;
--version)
echo MTT $version; exit;;
--versions)
mtt_versions; exit;;
*)
echo "$1 is an invalid argument - ignoring" ;;
esac
shift
done
|
|
|
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
|
-A )
mtt_switches="$mtt_switches $1";
Solving='Solving';;
-abg )
mtt_switches="$mtt_switches $1";
start_at_abg='yes';;
--version)
echo 'MTT (Model Transformation Tools) version' $version; exit;;
--versions)
mtt_versions; exit;;
*)
echo "$1 is an invalid argument - ignoring" ;;
esac
shift
done
|
︙ | | | ︙ | |
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
|
sympar2numpar_txt2txt $1
#SUMMARY numpar numerical parameter declaration (m)
$1_numpar.m: $1_numpar.txt $1_sympars.txt
txt2m $1 numpar
#SUMMARY numpar numerical parameter declaration (c)
$1_numpar.c: $1_numpar.txt $1_sympar.c
txt2c $1 numpar
#SUMMARY input numerical input declaration -- default (txt)
#SUMMARY state numerical state declaration -- default (txt)
ifeq ($steadystate_computation,yes)
$1_input.txt:
|
>
|
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
|
sympar2numpar_txt2txt $1
#SUMMARY numpar numerical parameter declaration (m)
$1_numpar.m: $1_numpar.txt $1_sympars.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
#SUMMARY input numerical input declaration -- default (txt)
#SUMMARY state numerical state declaration -- default (txt)
ifeq ($steadystate_computation,yes)
$1_input.txt:
|
︙ | | | ︙ | |
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
|
#Acausal bond graph to causal bond graph: mfile
$1_cbg.m: $1_abg.m
abg2cbg_m $1
$1_type.sh: $1_cbg.m
#SUMMARY cbg causal bond graph (fig)
#Causal bond graph: mfile to fig conversion
$1_cbg.fig: $1_cbg.m $1_rbg.m $1_fig.fig $1_type.sh
cbg_m2fig $1
#SUMMARY ese elementary system equations (r)
#SUMMARY def definitions - system orders etc. (r)
#SUMMARY def definitions - system orders etc. (m)
|
>
>
|
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
|
#Acausal bond graph to causal bond graph: mfile
$1_cbg.m: $1_abg.m
abg2cbg_m $1
$1_type.sh: $1_cbg.m
#SUMMARY cbg causal bond graph (fig)
#SUMMARY cbg causal bond graph (ps)
#SUMMARY cbg causal bond graph (view)
#Causal bond graph: mfile to fig conversion
$1_cbg.fig: $1_cbg.m $1_rbg.m $1_fig.fig $1_type.sh
cbg_m2fig $1
#SUMMARY ese elementary system equations (r)
#SUMMARY def definitions - system orders etc. (r)
#SUMMARY def definitions - system orders etc. (m)
|
︙ | | | ︙ | |