You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`oprob` and `oprob2` are functionally equivalent, each representing the same
166
166
underlying problem.
167
167
168
168
!!! note
169
-
When passing `odesys` to `ODEProblem` we needed to use the symbolic
170
-
variable-based parameter mappings, `u₀symmap` and `psymmap`, while when
171
-
directly passing `rn` we could use either those or the
172
-
`Symbol`-based mappings, `u₀map` and `pmap`. `Symbol`-based mappings can
173
-
always be converted to `symbolic` mappings using [`symmap_to_varmap`](@ref).
174
-
175
-
176
-
!!! note
177
-
Above we have used `rn = complete(rn)` and `odesys = complete(odesys)` to mark these systems as *complete*, indicating to Catalyst and ModelingToolkit that these models are finalized. This must be done before any system is given as input to a `convert` call or some problem type. `ReactionSystem` models created through the `@reaction_network` DSL (which is introduced elsewhere, and primarily used throughout these documentation) are always marked as complete when generated. Hence `complete` does not need to be called on them. Symbolically generated `ReactionSystem`s, `ReactionSystem`s generated via the `@network_component` macro, and any ModelingToolkit system generated by `convert` always needs to be manually marked as `complete` as we do for `odesys` above. An expanded description on *completeness* can be found [here](@ref completeness_note).
169
+
Above we have used `odesys = complete(odesys)` to mark the `ODESystem` as *complete*, indicating to Catalyst and ModelingToolkit that these models are finalized. This must be done before any system is given as input to a `convert` call or some problem type. `ReactionSystem` models created through the `@reaction_network` DSL, like `rn` above, are always marked as complete when generated. Hence `complete` does not need to be called on them. Symbolically generated `ReactionSystem`s, `ReactionSystem`s generated via the `@network_component` macro, and any ModelingToolkit system generated by `convert` always needs to be manually marked as `complete` as we do for `odesys` above. An expanded description on *completeness* can be found [here](@ref completeness_note).
178
170
179
171
At this point we are all set to solve the ODEs. We can now use any ODE solver
0 commit comments