Index: mttroot/mtt/bin/trans/ese2rdae_r ================================================================== --- mttroot/mtt/bin/trans/ese2rdae_r +++ mttroot/mtt/bin/trans/ese2rdae_r @@ -12,10 +12,16 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.2 1998/03/07 12:51:20 peterg +## This is the new version of ese2dae - it does not do the CRs at this +## stage to give reduce an easier time. +## +## rese2ese_r does the constitutive relationship bit +## ## Revision 1.1 1998/03/07 12:49:31 peterg ## Initial revision ## ## Revision 1.12 1998/01/31 16:22:59 peterg ## Added IF MTTNx>0 THEN and IF MTTNy>0 THEN before the relevant @@ -69,19 +75,20 @@ defname=$topname"_def.r" crname=$topname"_cr.r" paramname=$topname"_params.r" daename=$sysname"_rdae.r" esename=$sysname"_ese.r" +logname=$sysname"_rdae.log" # Inform user echo Creating $daename # Remove the old log file -rm -f ese2dae_r.log +rm -f $logname # Use symbolic algebra to accomplish the transformation -$SYMBOLIC >ese2dae_r.log << EOF +$SYMBOLIC >$logname << EOF %Read the formatting function in "$MTTPATH/trans/reduce_matrix.r"; % Definitions @@ -132,7 +139,7 @@ quit; EOF # Now invoke the standard error handling. -mtt_error_r ese2dae_r.log +mtt_error_r $logname