Overview
Comment:Fixed problem with repetitions>1 due to new data structures -- now
computes initial next_bond correctly
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: a5a7728c24edfd8a61a1573f9b71aeb8de91a444e2d3ce8bb9582755b0536abd
User & Date: gawthrop@users.sourceforge.net on 1998-11-16 13:01:19
Other Links: branch diff | manifest | tags
Context
1998-11-17
15:50:45
Initial revision check-in: 010ed295a9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1998-11-16
13:01:19
Fixed problem with repetitions>1 due to new data structures -- now
computes initial next_bond correctly
check-in: a5a7728c24 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1998-11-10
17:12:15
Removed sorting check-in: 35cec3279b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/m/cbg2ese.m from [f446208c65] to [893d49d489].

19
20
21
22
23
24
25



26
27
28
29
30
31
32
# Structure matrix [states,nonstates,inputs,outputs,zero_outputs]

# ###############################################################
# ## Version control history
# ###############################################################
# ## $Id$
# ## $Log$



# ## Revision 1.30  1998/09/02 11:14:23  peterg
# ## Revised to use ordered lists of subsystems and ports
# ##
# ## Revision 1.29  1998/08/25 09:22:34  peterg
# ## Correctely recognises port SSs its now easy -- they are in there own
# ## field
# ##







>
>
>







19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Structure matrix [states,nonstates,inputs,outputs,zero_outputs]

# ###############################################################
# ## Version control history
# ###############################################################
# ## $Id$
# ## $Log$
# ## Revision 1.31  1998/09/24 12:57:44  peterg
# ## Now ignores aliasing if no arguments given.
# ##
# ## Revision 1.30  1998/09/02 11:14:23  peterg
# ## Revised to use ordered lists of subsystems and ports
# ##
# ## Revision 1.29  1998/08/25 09:22:34  peterg
# ## Correctely recognises port SSs its now easy -- they are in there own
# ## field
# ##
182
183
184
185
186
187
188

189
190
191
192
193
194
195

#  # Find number of components
#  [n_components,columns] = size(components);
#  n_components = n_components
  
  # Set up the first dummy bond number - needed for repetative components
#  next_bond = max(max(abs(components)))+1;


  # Set up the counters for the labelled SS. These are, by definition,
  # encountered first and so the counters will not be messed up by subsystems.
  local_u_index = 0;
  local_y_index = 0;

  if (length(system_args)==0)







>







185
186
187
188
189
190
191
192
193
194
195
196
197
198
199

#  # Find number of components
#  [n_components,columns] = size(components);
#  n_components = n_components
  
  # Set up the first dummy bond number - needed for repetative components
#  next_bond = max(max(abs(components)))+1;
    next_bond = n_bonds+1;

  # Set up the counters for the labelled SS. These are, by definition,
  # encountered first and so the counters will not be messed up by subsystems.
  local_u_index = 0;
  local_y_index = 0;

  if (length(system_args)==0)


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]