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/basics/solution.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Accessing the Values
4
4
5
-
The solution type has a lot of builtin functionality to help analysis. For example,
5
+
The solution type has a lot of built-in functionality to help analysis. For example,
6
6
it has an array interface for accessing the values. Internally, the solution type
7
7
has two important fields:
8
8
@@ -27,7 +27,7 @@ to access the value at timestep `j` (if the timeseries was saved), and
27
27
sol.t[j]
28
28
```
29
29
30
-
to access the value of `t` at timestep `j`. For multi-dimensional systems, this
30
+
to access the value of `t` at timestep `j`. For multidimensional systems, this
31
31
will address first by component and lastly by time, and thus
32
32
33
33
```julia
@@ -93,7 +93,7 @@ Note that the interpolating function allows for `t` to be a vector and uses this
93
93
sol(t,deriv=Val{0};idxs=nothing,continuity=:left)
94
94
```
95
95
96
-
The optional argument `deriv` lets you choose the number `n` derivative to solve the interpolation for, defaulting with `n=0`. Note that most of the derivatives have not yet been implemented (though it's not hard, it just has to be done by hand for each algorithm. Open an issue if there's a specific one you need). `continuity` describes whether to satisfy left or right continuity when a discontinuity is saved. The default is `:left`, i.e. grab the value before the callback's change, but can be changed to `:right`. `idxs` allows you to choose the indices the interpolation should solve for. For example,
96
+
The optional argument `deriv` lets you choose the number `n` derivative to solve the interpolation for, defaulting with `n=0`. Note that most of the derivatives have not yet been implemented (though it's not hard, it just has to be done manually for each algorithm. Open an issue if there's a specific one you need). `continuity` describes whether to satisfy left or right continuity when a discontinuity is saved. The default is `:left`, i.e. grab the value before the callback's change, but can be changed to `:right`. `idxs` allows you to choose the indices the interpolation should solve for. For example,
97
97
98
98
```julia
99
99
sol(t,idxs=1:2:5)
@@ -142,7 +142,7 @@ The solution interface also includes some special fields. The problem object
142
142
`prob` and the algorithm used to solve the problem `alg` are included in the
143
143
solution. Additionally, the field `dense` is a boolean which states whether
144
144
the interpolation functionality is available. Further, the field `destats`
145
-
contains the internal statistics for the solution process such as the number
145
+
contains the internal statistics for the solution process, such as the number
146
146
of linear solves and convergence failures. Lastly, there is a mutable state
147
147
`tslocation` which controls the plot recipe behavior. By default, `tslocation=0`.
148
148
Its values have different meanings between partial and ordinary differential equations:
0 commit comments