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.230 2000/03/15 20:31:06 peterg
## Replaced lbl2cr by abg2cr_m2txt
##
## Revision 1.229 2000/03/15 19:39:40 peterg
## Replaced sub creation cmp2sub_m2sh by abg2sub_m2sh
##
## Revision 1.228 2000/03/07 10:54:14 peterg
|
>
>
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996, 1997,1998,1999
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.231 2000/03/15 21:24:23 peterg
## Version 4.1:
## Fixed problems with -abg mode
## Old-style SS lbl no longer supported
##
## Revision 1.230 2000/03/15 20:31:06 peterg
## Replaced lbl2cr by abg2cr_m2txt
##
## Revision 1.229 2000/03/15 19:39:40 peterg
## Replaced sub creation cmp2sub_m2sh by abg2sub_m2sh
##
## Revision 1.228 2000/03/07 10:54:14 peterg
|
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
|
$1_cr.tex: $1_cr.r
txt2tex $1 cr r
#SUMMARY sympar symbolic parameters (txt)
#SUMMARY sympar* symbolic parameters (view)
# Lbl to sympar conversion
ifeq ($switches,0)
$1_sympar.txt: $1_sub.sh $1_lbl.txt
lbl2sympar_txt2txt $1
if [ "$level" = "0" ]; then \
mv $1_sympar.txt MTT_sympar.txt; \
else \
cat $1_sympar.txt >> MTT_sympar.txt; \
fi
sh $1_sub.sh "rm -f " '_sympar.txt' # Delete sympar files
sh $1_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' sympar txt' # and recreate them
if [ "$level" = "0" ]; then \
sort_sympar <MTT_sympar.txt> $1_sympar.txt; \
fi
endif
ifeq ($switches,1)
$1_sympar.txt: $1_sub.sh $1_lbl.txt
lbl2sympar_txt2txt $1
if [ "$level" = "0" ]; then \
mv $1_sympar.txt MTT_sympar.txt; \
else \
cat $1_sympar.txt >> MTT_sympar.txt; \
fi
|
|
|
|
|
|
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
|
$1_cr.tex: $1_cr.r
txt2tex $1 cr r
#SUMMARY sympar symbolic parameters (txt)
#SUMMARY sympar* symbolic parameters (view)
# Lbl to sympar conversion
ifeq ($switches,0)
$1_sympar.txt: $1_sub.sh $1_abg.m
abg2sympar_m2txt $1
if [ "$level" = "0" ]; then \
mv $1_sympar.txt MTT_sympar.txt; \
else \
cat $1_sympar.txt >> MTT_sympar.txt; \
fi
sh $1_sub.sh "rm -f " '_sympar.txt' # Delete sympar files
sh $1_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' sympar txt' # and recreate them
if [ "$level" = "0" ]; then \
sort_sympar <MTT_sympar.txt> $1_sympar.txt; \
fi
endif
ifeq ($switches,1)
$1_sympar.txt: $1_sub.sh $1_abg.m
abg2sympar_m2txt $1
if [ "$level" = "0" ]; then \
mv $1_sympar.txt MTT_sympar.txt; \
else \
cat $1_sympar.txt >> MTT_sympar.txt; \
fi
|
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
|
$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:
mtt -q $1 ss r
mtt -q $1 struc txt
mtt -q $1 switch txt
struc2input_txt2txt -ss $1
$1_state.txt:
mtt -q $1 ss r
mtt -q $1 struc txt
struc2state_txt2txt -ss $1
else
$1_input.txt:
mtt -q $1 struc txt
mtt -q $1 switch txt
struc2input_txt2txt $1
$1_state.txt:
mtt -q $1 struc txt
struc2state_txt2txt $1
endif
#ifeq ($switches,0)
#$1_input.txt:
# mtt $mtt_switches $1 struc txt;
|
|
|
|
|
|
|
|
|
|
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
|
$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:
mtt -q $mtt_switches $1 ss r
mtt -q $mtt_switches $1 struc txt
mtt -q $mtt_switches $1 switch txt
struc2input_txt2txt -ss $1
$1_state.txt:
mtt -q $mtt_switches $1 ss r
mtt -q $mtt_switches $1 struc txt
struc2state_txt2txt -ss $1
else
$1_input.txt:
mtt -q $mtt_switches $1 struc txt
mtt -q $mtt_switches $1 switch txt
struc2input_txt2txt $1
$1_state.txt:
mtt -q $mtt_switches $1 struc txt
struc2state_txt2txt $1
endif
#ifeq ($switches,0)
#$1_input.txt:
# mtt $mtt_switches $1 struc txt;
|