Skip to content

Commit 838b944

Browse files
committed
skip ci
1 parent 89acd58 commit 838b944

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/src/Details/Termination.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Today's values are
44
```math
5-
C_e = 1.0, C_r = 20.0, r_{max} = .5
5+
C_e = 1.0, C_r = 20.0, r_{max} = .5, litmax = 1000
66
```
77

88
Floating point roundoff is
@@ -38,12 +38,15 @@ also terminate the iteration if
3838
```math
3939
\| r_{new} \| \ge r_{max} \| r_{old} \|
4040
```
41-
even if the small residual condition is not satisfied.
41+
even if the small residual condition is not satisfied. You can also
42+
limit the number of IR iterations to manage stagnation.
43+
Higham [higham97]@cite recomments a limit of ```litmax = 5```. Our default
44+
is ```litmax = 1000``, which is essentially infinite in this context.
4245

4346
I am still playing with the termination criteria and the iteration
4447
counts and timings could grow or shrink as I do that.
4548

46-
You can use the ```update_parms``` to
49+
You can use the __update_parms__ command to
4750
change $C_r$, $C_e$ and $r_{max}$ if you must. I do not advise that.
4851
Anyhow, here are the docstrings.
4952
```

0 commit comments

Comments
 (0)