︙ | | | ︙ | |
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright (C) 2001 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.360 2002/08/20 15:51:16 gawthrop
## Update to work with ident DIY rep
##
## Revision 1.359 2002/08/07 14:27:14 geraint
## Changes to make "-i dassl" work again.
##
## Revision 1.358 2002/08/07 11:04:40 geraint
|
>
>
>
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright (C) 2001 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.360.2.1 2002/09/03 23:44:43 geraint
## adding global optimisation (-optg).
##
## Revision 1.360 2002/08/20 15:51:16 gawthrop
## Update to work with ident DIY rep
##
## Revision 1.359 2002/08/07 14:27:14 geraint
## Changes to make "-i dassl" work again.
##
## Revision 1.358 2002/08/07 11:04:40 geraint
|
︙ | | | ︙ | |
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
|
# Default use m, not oct files
m='m';
# Default use ps files
ps=ps
eps=eps
psview=$PSVIEW
#Initialise list of switches
mtt_switches='';
#Initialise read dirs
read_dirs=''
|
>
>
>
|
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
|
# Default use m, not oct files
m='m';
# Default use ps files
ps=ps
eps=eps
psview=$PSVIEW
# Default declare 500 temporary variables
num_tmp_var=500
#Initialise list of switches
mtt_switches='';
#Initialise read dirs
read_dirs=''
|
︙ | | | ︙ | |
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
|
;;
-opt | -optl )
mtt_switches="$mtt_switches $1";
optimise='-optimise_local';;
-optg )
mtt_switches="$mtt_switches $1";
optimise='-optimise_global';;
-partition ) mtt_switches="$mtt_switches $1";
partition='-partition';
;;
-pdf ) mtt_switches="$mtt_switches $1";
ps=pdf;
eps=pdf;
pdf='-pdf';
|
>
>
>
>
|
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
|
;;
-opt | -optl )
mtt_switches="$mtt_switches $1";
optimise='-optimise_local';;
-optg )
mtt_switches="$mtt_switches $1";
optimise='-optimise_global';;
-ntmpvar )
num_tmp_var=$2;
mtt_switches="$mtt_switches $1 $2";
shift;;
-partition ) mtt_switches="$mtt_switches $1";
partition='-partition';
;;
-pdf ) mtt_switches="$mtt_switches $1";
ps=pdf;
eps=pdf;
pdf='-pdf';
|
︙ | | | ︙ | |
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
|
echo ' -i <implicit|euler|rk4|dassl> Use implicit, euler, rk4 or dassl integration'
echo ' -ae <reduce|hybrd|dassl|hooke> Solve algebraic equations with specified solver'
echo ' -o ode is same as dae'
echo ' -oct use oct files in place of m files where appropriate'
echo ' -opt optimise code generation (equivalent to -lopt)'
echo ' -optl optimise code generation (local : line-by-line)'
echo ' -optg optimise code generation (global : full vector)'
echo ' -p print environment variables'
echo ' -partition partition hierachical system'
echo ' -pdf generate pdf in place of ps'
echo ' -r reset time stamp on representation'
echo ' -s generate sensitivity BG (use mtt -s sSys rep lang)'
echo ' -ss use steady-state info to initialise simulations'
echo ' -stdin read input data from standard input for simulations'
|
>
|
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
|
echo ' -i <implicit|euler|rk4|dassl> Use implicit, euler, rk4 or dassl integration'
echo ' -ae <reduce|hybrd|dassl|hooke> Solve algebraic equations with specified solver'
echo ' -o ode is same as dae'
echo ' -oct use oct files in place of m files where appropriate'
echo ' -opt optimise code generation (equivalent to -lopt)'
echo ' -optl optimise code generation (local : line-by-line)'
echo ' -optg optimise code generation (global : full vector)'
echo " -ntmpvar <N> declare N temporary variables (default=$num_tmp_var)"
echo ' -p print environment variables'
echo ' -partition partition hierachical system'
echo ' -pdf generate pdf in place of ps'
echo ' -r reset time stamp on representation'
echo ' -s generate sensitivity BG (use mtt -s sSys rep lang)'
echo ' -ss use steady-state info to initialise simulations'
echo ' -stdin read input data from standard input for simulations'
|
︙ | | | ︙ | |
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
|
#SUMMARY sympar symbolic parameters (r)
$1_sympar.r: $1_sympar.txt
sympar_txt2r $1
$1_sympar.m: $1_sympar.txt
sympar_txt2m $1
$1_sympar.h: $1_sympar.txt
sympar_txt2h.sh $1
#SUMMARY sympar symbolic parameters (c)
# txt to c sympar conversion
$1_sympar.c: $1_sympar.txt
sympar_txt2c $1
#SUMMARY sympar symbolic parameters (tex)
|
|
|
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
|
#SUMMARY sympar symbolic parameters (r)
$1_sympar.r: $1_sympar.txt
sympar_txt2r $1
$1_sympar.m: $1_sympar.txt
sympar_txt2m $1
$1_sympar.h: $1_sympar.txt
sympar_txt2h.sh $1 $num_tmp_var
#SUMMARY sympar symbolic parameters (c)
# txt to c sympar conversion
$1_sympar.c: $1_sympar.txt
sympar_txt2c $1
#SUMMARY sympar symbolic parameters (tex)
|
︙ | | | ︙ | |