Overview
Comment:Better _input.c file default.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 28e47527b893edb509468b117f59448e5bae53729aba786895c87fd987f20896
User & Date: gawthrop@users.sourceforge.net on 1997-03-20 17:48:50
Other Links: branch diff | manifest | tags
Context
1997-03-22
15:15:44
Ignores symbolic ($i) crs. check-in: 86bbc7c15d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1997-03-20
17:48:50
Better _input.c file default. check-in: 28e47527b8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
16:53:01
Generates c files using include statements. check-in: 95b6c7dce0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [ad67216230] to [e1c65d4523].

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.60  1997/03/20  10:25:41  peterg
# Generates a compehensive default params file.
#
# Revision 1.59  1997/03/19  10:14:04  peterg
# Now produces a stripped acausal bond graph.
#
# Revision 1.58  1997/03/18  17:58:12  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.61  1997/03/20  16:53:01  peterg
# Generates c files using include statements.
#
# Revision 1.60  1997/03/20  10:25:41  peterg
# Generates a compehensive default params file.
#
# Revision 1.59  1997/03/19  10:14:04  peterg
# Now produces a stripped acausal bond graph.
#
# Revision 1.58  1997/03/18  17:58:12  peterg
611
612
613
614
615
616
617
618
619


620
621
622
623
624
625
626
	echo '  double t;'; \
	echo '/*'; \
	echo "%% Input file for system $1 ($1_input.c)"; \
	echo "%% This file provides the system input for simulation:";\
	echo '*/'; \
	cat $MTTPATH/trans/rcs_header.c; \
	echo; \
	echo "/* Change the following lines as you wish */"; \
        echo '{'; \


        echo '  extern double u;'; \
	echo '};'; \
        )> $1_input.c

#SUMMARY sspar	steady-state definition (r)
$1_sspar.r:
	echo Creating $1_sspar.r







<

>
>







614
615
616
617
618
619
620

621
622
623
624
625
626
627
628
629
630
	echo '  double t;'; \
	echo '/*'; \
	echo "%% Input file for system $1 ($1_input.c)"; \
	echo "%% This file provides the system input for simulation:";\
	echo '*/'; \
	cat $MTTPATH/trans/rcs_header.c; \
	echo; \

        echo '{'; \
        echo "#include \"$1_sympar.c\""; \
	echo "/* Change the following lines as you wish */"; \
        echo '  extern double u;'; \
	echo '};'; \
        )> $1_input.c

#SUMMARY sspar	steady-state definition (r)
$1_sspar.r:
	echo Creating $1_sspar.r


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