Overview
Comment: | Actually, the previous comment was optimistic. The port causalities on a compound are now forced to be the same as that specified by a a _cuase.m file (if it exists) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f8d47b29cfec620e49c3cdd7d4daa621 |
User & Date: | gawthrop@users.sourceforge.net on 1998-06-25 18:53:30 |
Other Links: | branch diff | manifest | tags |
Context
1998-06-26
| ||
14:19:43 | Copy hidden files (eg .octaverc) in tidy mode check-in: fb420c0d89 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1998-06-25
| ||
18:53:30 |
Actually, the previous comment was optimistic. The port causalities on a compound are now forced to be the same as that specified by a a _cuase.m file (if it exists) check-in: f8d47b29cf user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
17:45:03 | No change -- but checked that explicit causality works! check-in: daf24cad68 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/m/abg2cbg.m from [e2573b8bd0] to [c289a11e44].
︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + + + | % [bonds,status] = abg2cbg(system_name, system_type, full_name, port_bonds, infofile) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.24 1998/06/25 17:45:03 peterg % %% No change -- but checked that explicit causality works! % %% % %% Revision 1.23 1998/04/04 10:46:37 peterg % %% Coerces port bonds to have smae direction as the imposing bonds % %% _cbg now generates the (coerced) components as welll as the (coerced) % %% causality. % %% % %% Revision 1.22 1997/08/19 10:21:09 peterg % %% Only copy port cuaslity info if not already set within the |
︙ | |||
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 | 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 | + + + - + + + + + + + + + + + + + + + | end; if strcmp(comp_type,'1') comp_type = 'one'; end; % Component causality procedure name cause_name = [comp_type, '_cause']; % Component equation procedure name eqn_name = [comp_type, '_eqn']; % Bonds on this component (arrow-orientated) -- these become the % port bonds on the ith component of this subsystem. comp_bonds=[]; for kk = 1:n_bonds comp_bonds(kk,:) = bonds(bond_list(kk),:); end; % Invoke the appropriate causality procedure |
︙ | |||
301 302 303 304 305 306 307 | 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 | - - + + | % Convert from arrow orientated to component orientated causality comp_bonds = comp_bonds.*direction; % Evaluate the built-in causality procedure eval([ '[comp_bonds,status(i)] = ', cause_name, '(comp_bonds);' ]); |
︙ |