@@ -189,6 +189,12 @@ struct ODESystem <: AbstractODESystem
189
189
"""
190
190
split_idxs:: Union{Nothing, Vector{Vector{Int}}}
191
191
"""
192
+ The connections to ignore (since they're removed by analysis point transformations).
193
+ The first element of the tuple are systems that can't be in the same connection set,
194
+ and the second are variables (for the trivial form of `connect`).
195
+ """
196
+ ignored_connections:: Union{Nothing, Tuple{Vector{ODESystem}, Vector{BasicSymbolic}}}
197
+ """
192
198
The hierarchical parent system before simplification.
193
199
"""
194
200
parent:: Any
@@ -203,7 +209,8 @@ struct ODESystem <: AbstractODESystem
203
209
tstops = [], tearing_state = nothing ,
204
210
substitutions = nothing , complete = false , index_cache = nothing ,
205
211
discrete_subsystems = nothing , solved_unknowns = nothing ,
206
- split_idxs = nothing , parent = nothing ; checks:: Union{Bool, Int} = true )
212
+ split_idxs = nothing , ignored_connections = nothing , parent = nothing ;
213
+ checks:: Union{Bool, Int} = true )
207
214
if checks == true || (checks & CheckComponents) > 0
208
215
check_independent_variables ([iv])
209
216
check_variables (dvs, iv)
@@ -221,7 +228,7 @@ struct ODESystem <: AbstractODESystem
221
228
initializesystem, initialization_eqs, schedule, connector_type, preface,
222
229
cevents, devents, parameter_dependencies, assertions, metadata,
223
230
gui_metadata, is_dde, tstops, tearing_state, substitutions, complete, index_cache,
224
- discrete_subsystems, solved_unknowns, split_idxs, parent)
231
+ discrete_subsystems, solved_unknowns, split_idxs, ignored_connections, parent)
225
232
end
226
233
end
227
234
0 commit comments