Overview
Comment: | No change -- but checked that explicit causality works! |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
daf24cad68a184bab1921020052f96a5 |
User & Date: | gawthrop@users.sourceforge.net on 1998-06-25 17:45:03 |
Other Links: | branch diff | manifest | tags |
Context
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 | |
08:47:23 | Put correct arguments for _input -- (x,t) check-in: 06c855f084 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/m/abg2cbg.m from [5a6470c9cc] to [e2573b8bd0].
︙ | |||
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 30 31 | + + + + + | % [bonds,status] = abg2cbg(system_name, system_type, full_name, port_bonds, infofile) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% 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 % %% subsystem. I thought I'd done this already .... % %% % %% Revision 1.21 1997/08/18 16:25:25 peterg % %% Minor bug fixes % %% |
︙ | |||
163 164 165 166 167 168 169 | 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | - - + + | if n_components==0 % there is nothing to be done return end; port_bond_direction % Coerce the port (SS:[]) component bonds to have the same direction as |
︙ | |||
257 258 259 260 261 262 263 | 262 263 264 265 266 267 268 269 270 271 272 273 274 275 | - - - - | % Component causality procedure name cause_name = [comp_type, '_cause']; % Bonds on this component (arrow-orientated) -- these become the % port bonds on the ith component of this subsystem. |
︙ | |||
290 291 292 293 294 295 296 | 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 | - + | if max(s) == 1 % At least one component is overcausal status(i) = 1; else % no component is overcausal but some are undercausal status(i) = -1; end; end; |
︙ |