Overview
Comment:params.c and params.m not used any more.
_numpar.txt is the common base from which _numpar.c and numpar.m is
generated.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 3a578de1c69a456f51dd4af43deea4178c106e7811705ac0fe822d326dbf0ff2
User & Date: gawthrop@users.sourceforge.net on 1997-05-01 08:39:20
Other Links: branch diff | manifest | tags
Context
1997-05-01
11:15:33
Back under RCS check-in: 248458a6d0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:39:20
params.c and params.m not used any more.
_numpar.txt is the common base from which _numpar.c and numpar.m is
generated.
check-in: 3a578de1c6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:35:18
# is now the comment symbol in the .txt file check-in: 7e9f611d4d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [3253a3752e] to [1cf1d9885e].

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
27







+
+
+
+







# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
# Revision 1.67  1997/04/23  07:26:49  peterg
# Added -o switch -- ode and dae are the same
# Added switches to default menu
#
# Revision 1.66  1997/04/16  09:46:01  peterg
# More informative copy message
#
# Revision 1.65  1997/04/15  15:16:12  peterg
# Added structure (_struc) files.
# Fixed prob with dvi2ps conversion -- removed .doc extension.
#
591
592
593
594
595
596
597
598
599
600
601



602




603
604
605


606
607
608
609
610
611
612
595
596
597
598
599
600
601
602



603
604
605
606
607
608
609
610
611


612
613
614
615
616
617
618
619
620








-
-
-
+
+
+

+
+
+
+

-
-
+
+







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

#SUMMARY numpar	numerical parameter declaration (m) 
$1_numpar.m: $1_sympar.r $1_params.m
	sympar2numpar_r2m $1
#SUMMARY numpar	numerical parameter declaration (txt) -- default
$1_numpar.txt:
	sympar2numpar_txt2txt $1

#SUMMARY numpar	numerical parameter declaration (m) 
$1_numpar.m:  $1_numpar.txt $1_sympar.txt
	numpar_txt2m $1

#SUMMARY numpar	numerical parameter declaration (c) 
$1_numpar.c: $1_sympar.r
	sympar2numpar_r2c $1
$1_numpar.c:  $1_numpar.txt $1_sympar.c
	numpar_txt2c $1


#SUMMARY params	numerical parameter setting (m)
 $1_params.m: 
	sympar2params_txt2m $1

#SUMMARY params	numerical parameter setting (c)
947
948
949
950
951
952
953
954

955
956
957
958

959
960
961
962
963
964
965
955
956
957
958
959
960
961

962
963
964
965

966
967
968
969
970
971
972
973







-
+



-
+







ifeq ($computation,octave)
$1_odes.m: $1_ode.m $1_numpar.m $1_params.m $1_args.m $1_def.m $1_input.m
	ode2odes_m $1 '$ARGS'
endif
ifeq ($computation,c)
$1_odes.m: $1_odes.c $1_ode.c $1_numpar.c $1_odes.h\
         $1_sympar.c $1_sympar.h\
         $1_params.c $1_input.c
         $1_numpar.c $1_input.c
	echo Creating $1_odes.m
	echo Creating $1_odeso.m
	echo 'Compiling ...'
	gcc $1_odes.c $1_ode.c $1_numpar.c $1_params.c $1_input.c -lm
	gcc $1_odes.c $1_ode.c $1_numpar.c  $1_input.c -lm
	echo 'Running  ...'; ./a.out; echo 'Done.'
endif
$1_odeso.m: $1_odes.m
	touch $1_odeso.m
$1_daes.m: $1_dae.m $1_numpar.m $1_params.m $1_args.m $1_def.m $1_input.m
	dae2daes_m $1 '$ARGS'
$1_daeso.m: $1_daes.m
1032
1033
1034
1035
1036
1037
1038
1039

1040
1041
1042
1043
1044
1045
1046
1040
1041
1042
1043
1044
1045
1046

1047
1048
1049
1050
1051
1052
1053
1054







-
+








#Generic conversion of data files from dat to (gplot) gdat format
$1_$2.gdat: $1_$2.dat
	dat2gdat $1_$2

#Generic conversion of Latex to latex document
$1_$2.doc: $1_$2.tex
	tex2doc $1 $2
	makedoc $1 $2

#Generic conversion of LaTeX doc to dvi
$1_$2.dvi: $1_$2.doc
	echo Creating $1_$2.dvi
	latex $1_$2.doc > /dev/null; latex $1_$2.doc > /dev/null



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