Differences From Artifact [ad67216230]:

To Artifact [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 ]