Index: mttroot/mtt/bin/trans/dae2cse_r ================================================================== --- mttroot/mtt/bin/trans/dae2cse_r +++ mttroot/mtt/bin/trans/dae2cse_r @@ -13,10 +13,15 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.25 2002/09/18 19:46:48 geraint +## Refined test to reduce shell loop overhead for unnecessary E matrix. +## Removed unnecessary attempt to optimise cse. +## Fixes sm representation. +## ## Revision 1.24 2002/09/16 08:08:00 geraint ## Merged changes from global-optimisation branch. ## ## Revision 1.23.2.3 2002/09/12 18:50:50 geraint ## Uncommented cse optimisations - they seem to work ok. @@ -302,10 +307,12 @@ MTTEdX := MTTdX; %Ie MTTEdX is MTTdX with the dz terms deleted ie EdX. MTTdX := MTTdXs; %Restore the symbolic dX %% Add on input derivative terms MTTEdX := MTTEdX + MTTExu*MTTdu; +%% Add on output derivative terms +MTTEdx := MTTEdX + MTTExx*(MTTE^(-1))*MTTEdX; END; %%%%%MTTY := MTTY + MTTEyx*MTTEdX; %%% This causes the matrix mismatch