Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -7,16 +7,20 @@ # Bourne shell script: mtt # P.J.Gawthrop Oct 1989, Dec 1989, 1990, 1991, Oct 1993, Dec 1993, Jan 1994, Dec 95, Nov 1996. # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996, 1997,1998,1999 # Copyright (C) 2000 by Peter J. Gawthrop +# Copyright (C) 2001 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.302 2001/04/06 05:24:30 geraint +## -stdin for .cc reps. +## ## Revision 1.301 2001/04/05 03:46:12 geraint ## Added mtt_prepend.sh, -p preserves time attribute of base file ## - eliminates error in dependencies due to update of ese.r by modpar.r. ## ## Revision 1.300 2001/04/04 10:06:49 gawthrop Index: mttroot/mtt/bin/trans/m/figfig.m ================================================================== --- mttroot/mtt/bin/trans/m/figfig.m +++ mttroot/mtt/bin/trans/m/figfig.m @@ -10,10 +10,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ + ## Revision 1.2 2000/12/27 16:06:02 peterg + ## *** empty log message *** + ## ## Revision 1.1 2000/11/03 10:43:10 peterg ## Initial revision ############################################################### figfilename = sprintf("%s.fig",filename); @@ -32,10 +35,10 @@ fprintf(fid,"\t9675 5310 9675 270 225 270 225 5310 9675 5310\n"); fclose(fid); if nargin>1 # Do a ps file psfilename = sprintf("%s.%s",filename,language); - convert = sprintf("fig2dev -L%s %s > %s", language, figfilename, psfilename) + convert = sprintf("fig2dev -L%s %s > %s", language, figfilename, psfilename); system(convert); endif endfunction Index: mttroot/mtt/bin/trans/make_ssim ================================================================== --- mttroot/mtt/bin/trans/make_ssim +++ mttroot/mtt/bin/trans/make_ssim @@ -22,12 +22,12 @@ MTT_input = u; [MTT_input_last,m] = size(u); for i=index MTT_input_index = 0; - p = par; - p(i) = 1; + p = par; # Reset parameters + p(i) = 1; # Set sensitivity index to 1 [mtt_data] = ${sys}_ode2odes(x0,p,simpar); if (i==index(1)) y = mtt_data(:,2:1+ny); endif y_par = [y_par, mtt_data(:,2+ny:1+2*ny)]; Index: mttroot/mtt/bin/trans/mtt_make_sympar ================================================================== --- mttroot/mtt/bin/trans/mtt_make_sympar +++ mttroot/mtt/bin/trans/mtt_make_sympar @@ -11,10 +11,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.5 2000/11/03 14:57:06 peterg +## Corrected regexp notvar +## ## Revision 1.4 2000/11/02 18:53:46 peterg ## Added NOPAR words to unwanted list. ## ## Revision 1.3 2000/10/16 09:41:29 peterg ## Fixed bug with printing a blank line. @@ -83,12 +86,5 @@ comma=","; } printf("\n") }' < mtt_sympar.txt >$filename - - - - - - - Index: mttroot/mtt/bin/trans/mtt_units.sh ================================================================== --- mttroot/mtt/bin/trans/mtt_units.sh +++ mttroot/mtt/bin/trans/mtt_units.sh @@ -20,11 +20,11 @@ base_effort='newton' base_flow='m/s' ;; rotational) base_effort='newton*m' - base_flow='radians/s' + base_flow='radian/s' ;; fluid) base_effort='Pa' base_flow='m^3/s' ;;