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
Copy file name to clipboardExpand all lines: docs/src/internals.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,20 @@ The procedure for variable elimination inside [`structural_simplify`](@ref) is
27
27
28
28
## Preparing a system for simulation
29
29
30
-
Before a simulation or optimization can be performed, the symbolic equations stored in an [`AbstractSystem`](@ref) must be converted into executable code. This step typically occurs after the simplification explained above, and is performed when an instance of a [`SciMLBase.SciMLProblem`](@ref), such as a [`ODEProblem`](@ref), is constructed.
30
+
Before a simulation or optimization can be performed, the symbolic equations stored in an [`AbstractSystem`](@ref) must be converted into executable code. This step typically occurs after the simplification explained above, and is performed when an instance of a [`SciMLBase.AbstractSciMLProblem`](@ref), such as a [`ODEProblem`](@ref), is constructed.
31
31
The call chain typically looks like this, with the function names in the case of an `ODESystem` indicated in parentheses
32
32
33
33
1. Problem constructor ([`ODEProblem`](@ref))
34
34
2. Build an `DEFunction` ([`process_DEProblem`](@ref) -> [`ODEFunction`](@ref)
35
35
3. Write actual executable code ([`generate_function`](@ref) or [`generate_custom_function`](@ref))
36
36
37
37
Apart from [`generate_function`](@ref), which generates the dynamics function, `ODEFunction` also builds functions for observed equations (`build_explicit_observed_function`) and Jacobians (`generate_jacobian`) etc. These are all stored in the `ODEFunction`.
38
+
39
+
## Creating an `MTKParameters` object
40
+
41
+
It may be useful to create a parameter object without creating the problem. For this
42
+
purpose, the `MTKParameters` constructor is exposed as public API.
0 commit comments