Overview
Comment: | Fixed incorrect error message flagging inappropriate flow outputs -- used to give the effort rather than the flow in the error message. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
894128874b1ce54cd0b7b3f14d3e1291 |
User & Date: | gawthrop@users.sourceforge.net on 1997-09-18 13:15:15 |
Other Links: | branch diff | manifest | tags |
Context
1997-09-18
| ||
16:57:28 |
_sympar.txt now has a second column - the system type from whence the parameter (in the first column) came. Done on the train Glasgow-Warrington ! check-in: 942a22044b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
13:15:15 |
Fixed incorrect error message flagging inappropriate flow outputs -- used to give the effort rather than the flow in the error message. check-in: 894128874b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1997-09-16
| ||
15:14:14 | Added warning if a component has no bonds. check-in: 0ad47fec52 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/lib/comp/simple/SS_eqn.m from [312d13fc4c] to [3eb92ef302].
︙ | ︙ | |||
23 24 25 26 27 28 29 30 31 32 33 34 35 36 | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.11 1997/05/09 08:21:07 peterg % %% Explicit computation of port number -- avoids str2num % %% % %% Revision 1.10 1997/03/22 17:13:03 peterg % %% Fixed bug for port nos. > 1 digit! % %% % %% Revision 1.9 1997/03/22 15:50:59 peterg | > > > > | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.12 1997/08/26 07:51:30 peterg % %% Now counts the local input and outputs by order of appearence rather % %% than by port number - it therfore handles ports with bicausality correctely. % %% % %% Revision 1.11 1997/05/09 08:21:07 peterg % %% Explicit computation of port number -- avoids str2num % %% % %% Revision 1.10 1997/03/22 17:13:03 peterg % %% Fixed bug for port nos. > 1 digit! % %% % %% Revision 1.9 1997/03/22 15:50:59 peterg |
︙ | ︙ | |||
182 183 184 185 186 187 188 | if strcmp(flow_attribute, 'zero') %Zero output zero_outputs = zero_outputs + 1; fprintf(filenum, 'MTTyz%d := %s;\n', ... zero_outputs, varname(name, bond_number,-1)); fprintf(filenum, '%s := MTTUi%d;\n', ... varname(name, bond_number,1), zero_outputs); else | | | 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | if strcmp(flow_attribute, 'zero') %Zero output zero_outputs = zero_outputs + 1; fprintf(filenum, 'MTTyz%d := %s;\n', ... zero_outputs, varname(name, bond_number,-1)); fprintf(filenum, '%s := MTTUi%d;\n', ... varname(name, bond_number,1), zero_outputs); else mtt_info([flow_attribute, ' not appropriate for an output '], STDerr); end; end; end; structure(3) = inputs; structure(4) = outputs; structure(5) = zero_outputs; |