Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.142 1998/03/20 15:09:26 peterg +## Changed order of prerequisites for _dae.r to put _rdae.r first. +## ## Revision 1.141 1998/03/11 10:45:19 peterg ## Added rclean - recursive clean ## ## Revision 1.140 1998/03/09 10:23:30 peterg ## PS view now runs as a background process. @@ -812,13 +815,13 @@ fi else if [ -z "$source" ]; then source=$MTTPATH/lib/comp/compound fi - if [ "$quiet" != "quiet" ]; then + # if [ "$quiet" != "quiet" ]; then echo Copying component $2 from $source to $destination - fi + # fi if [ $source = "." ]; then cp -u *_*.* $destination else find $source -name "$2_*.*" -exec cp {} $destination \; fi @@ -949,10 +952,12 @@ numpar ) REPTYPE='txt' ;; state ) REPTYPE='txt' ;; simpar ) + REPTYPE='txt' ;; + obspar ) REPTYPE='txt' ;; odes) REPTYPE='data'; PLOTTYPE='multiple' ;; odeso) REPTYPE='data'; PLOTTYPE='multiple' ;; @@ -1124,10 +1129,33 @@ ( \ echo "%% Reduce substitution statements for system $1 ($1_subs.r)"; \ cat $MTTPATH/trans/m/rcs_header.txt; \ echo 'END;'; \ )> $1_subs.r + +#SUMMARY obspar GPC observability function parameters +$1_obspar.r: + echo Creating $1_obspar.r + ( \ + echo "%% Reduce GPC observability function parameters for system $1 ($1_obspar.r)"; \ + cat $MTTPATH/trans/m/rcs_header.txt; \ + echo 'MTTGPCNy := 5;'; \ + echo 'MTTGPCNu := 0;'; \ + echo 'Matrix MTTdU(5,1);'; \ + echo 'MTTdU(1,1) := MTTdU1;'; \ + echo 'MTTdU(2,1) := MTTdU2;'; \ + echo 'MTTdU(3,1) := MTTdU3;'; \ + echo 'MTTdU(4,1) := MTTdU4;'; \ + echo 'MTTdU(5,1) := MTTdU5;'; \ + echo 'Matrix MTTUU(1,5);'; \ + echo 'MTTUU(1,1) := MTTu1;'; \ + echo 'MTTUU(1,2) := MTTu11;'; \ + echo 'MTTUU(1,3) := MTTu12;'; \ + echo 'MTTUU(1,4) := MTTu13;'; \ + echo 'MTTUU(1,5) := MTTu14;'; \ + echo 'END;'; \ + )> $1_obspar.r #SUMMARY simpar simulation information (txt) $1_simpar.txt: echo Creating $1_simpar.txt ( \ @@ -1400,13 +1428,13 @@ #SUMMARY obs observer equations for CGPC (m) #SUMMARY obs observer equations for CGPC (tex) #SUMMARY obs observer equations for CGPC (view) #SUMMARY obs observer equations for CGPC (ps) #Observer functions for GPC -$1_obs.r: $1_ode.r $1_def.r $1_sympar.r +$1_obs.r: $1_ode.r $1_def.r $1_obspar.r ode2obs_r $1; tidy $1_obs.r -$1_obs.m: $1_def.r $1_obs.r $1_sympar.r $1_numpar.m +$1_obs.m: $1_def.r $1_sympar.txt $1_obs.r $1_obspar.r $1_numpar.m obs_r2m $1; matlab_tidy $1_obs.m $1_obs.tex: $1_obs.r $1_sympar.r $1_simp.r obs_r2tex $1; latex_tidy $1_obs.tex