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/error_control.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@ Adaptivity helps ensure the quality of the our numerical solution, and when our
4
4
5
5
When comes to solving ill-conditioned BVP, for example the singular pertubation problem where the small parameters become extremally small leading to the layers phonemona, the error control adaptivity becomes even more critical, because the minor pertubations can lead to large deviation in the solution. In such cases, adaptivity autimatically figure out where to use refined mesh and where to use coarse mesh to achieve the balance of computational efficiency and accuracy.
6
6
7
-
BoundaryValuDiffEq.jl support error control adaptivity, and the adaptivity is default as on when using adaptive methods:
7
+
BoundaryValuDiffEq.jl support error control adaptivity for collocation methods, and the adaptivity is default as defect control adaptivity when using adaptive collocation solvers:
8
8
9
9
```julia
10
10
sol =solve(prob, MIRK4(), dt =0.01, adaptive =true)
11
11
```
12
12
13
-
Actually, BoundaryValueDiffEq.jl supports both defect and global error control adaptivity(while the defect control is the default), to specify different error control metods, we simply need to specify the `controller` keyword in `solve`:
13
+
Actually, BoundaryValueDiffEq.jl supports both defect and global error control adaptivity(while the defect control is the default controller) [boisvert2013runge](@Citet), to specify different error control metods, we simply need to specify the `controller` keyword in `solve`:
14
14
15
15
```julia
16
16
sol =solve(prob, MIRK4(), dt =0.01, controller =GlobalErrorControl()) # Use global error control
Defect controller, with the maximum `defect_threshold` as 0.1, when the estimating defect is greater than the `defect_threshold`, the mesh will be refined.
@@ -87,7 +87,7 @@ Higher order global error estimation method
87
87
Uses a solution from order+2 method on the original mesh and calculate the error with
0 commit comments