Overview
Comment:Added simpar representation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 31c3736437dd7220612905649b868dcb9cfdea3a5ae9d26f7c18e9b06997425f
User & Date: gawthrop@users.sourceforge.net on 1998-02-25 22:09:48
Other Links: branch diff | manifest | tags
Context
1998-02-25
22:10:25
Initial revision check-in: e90b76f7be user: gawthrop@users.sourceforge.net tags: origin/master, trunk
22:09:48
Added simpar representation. check-in: 31c3736437 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
21:35:00
Put "" round if argument in case $err_length is null. check-in: b7b6feeb72 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [098e97b1c8] to [546b5494f7].

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.134  1998/02/25 15:28:34  peterg
## Added state.m rep.
##
## Revision 1.133  1998/02/24 22:35:33  peterg
## Added -p (preserve) switch to cp in tidy mode.
##
## Revision 1.132  1998/02/24 22:33:23  peterg
## new state reresentation included
##
## Revision 1.131  1998/02/23 16:21:21  peterg
1057
1058
1059
1060
1061
1062
1063
1064

1065
1066
1067


















1068
1069
1070
1071
1072
1073
1074
1060
1061
1062
1063
1064
1065
1066

1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095







-
+



+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+







$1_sympar.tex: $1_sympar.txt
	sympar_txt2tex $1

#SUMMARY simp	simplification information (r)
$1_simp.r:
	echo Creating $1_simp.r
	( \
	echo "%% Reduce comands to simplify output for system $1 ($1_simp.r)"; \
	echo "%% Reduce commands to simplify output for system $1 ($1_simp.r)"; \
	cat $MTTPATH/trans/m/rcs_header.txt; \
	echo 'END;'; \
        )> $1_simp.r

#SUMMARY simpar	simulation information (txt)
$1_simpar.txt:
	echo Creating $1_simpar.txt
	( \
	echo "%% Simulation parameters for system $1 ($1_simpar.txt)"; \
	cat $MTTPATH/trans/m/rcs_header.txt; \
	echo 'LAST=10.0'; \
	echo 'DT=0.1'; \
	echo 'STEPFACTOR=1'; \
        )> $1_simpar.txt

#SUMMARY simpar	simulation information (m)
$1_simpar.m: $1_simpar.txt
	echo Creating $1_simpar.m
	sed 's/txt/m/'<$1_simpar.txt >$1_simpar.m



#SUMMARY numpar	numerical parameter declaration (txt) -- default
$1_numpar.txt:
	mtt $mtt_switches -q -u $1 sympar txt; 
	mtt $mtt_switches -q -u $1 struc txt;
	sympar2numpar_txt2txt $1

1520
1521
1522
1523
1524
1525
1526
1527
1528


1529
1530
1531
1532
1533
1534
1535
1541
1542
1543
1544
1545
1546
1547


1548
1549
1550
1551
1552
1553
1554
1555
1556







-
-
+
+







$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_args.m $1_def.m $1_input.m
	ode2odes_m $1 '$ARGS'
$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
ifeq ($computation,c)
$1_odes.m: $1_odes.c $1_ode.c $1_numpar.c $1_state.c $1_odes.h\
         $1_sympar.c $1_sympar.h\
         $1_numpar.c $1_input.c sign.c
	echo Creating $1_odes.m
	echo Creating $1_odeso.m


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]