Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## 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. @@ -613,12 +616,13 @@ 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 "#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)