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
The initial guess can also be supplied via a function of `t` or a previous solution type, this is espacially handy for parameter analysis.
72
-
We changed `u` to `sol` to emphasize the fact that in this case the boundary condition can be written on the solution object. Thus all of the features on the solution type such as interpolations are available when using the `Shooting` method (i.e. you can have a boundary condition saying that the maximum over the interval is `1` using an optimization function on the continuous output). Note that user has to import the IVP solver before it can be used. Any common interface ODE solver is acceptable.
71
+
The initial guess can also be supplied via a function of `t` or a previous solution type, this is especially handy for parameter analysis.
72
+
We changed `u` to `sol` to emphasize the fact that in this case, the boundary condition can be written on the solution object. Thus, all the features on the solution type such as interpolations are available when using the `Shooting` method. (i.e. you can have a boundary condition saying that the maximum over the interval is `1` using an optimization function on the continuous output). Note that user has to import the IVP solver before it can be used. Any common interface ODE solver is acceptable.
73
73
74
74
```@example bvp
75
75
plot(sol3)
76
76
```
77
77
78
78
#### `TwoPointBVProblem`
79
79
80
-
Defining a similar problem as `TwoPointBVProblem` is shown in the following example. At the moment`MIRK4` is the only solver for `TwoPointBVProblem`s.
80
+
Defining a similar problem as `TwoPointBVProblem` is shown in the following example. Currently,`MIRK4` is the only solver for `TwoPointBVProblem`s.
81
81
82
82
```@example bvp
83
83
function bc2!(residual, u, p, t) # u[1] is the beginning of the time span, and u[end] is the ending
0 commit comments