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/common_solver_opts.md
-89Lines changed: 0 additions & 89 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,92 +26,3 @@ solve completely. Error controls only apply to iterative solvers.
26
26
-`maxiters`: The number of iterations allowed. Defaults to `length(prob.b)`
27
27
-`Pl,Pr`: The left and right preconditioners, respectively. For more information,
28
28
see [the Preconditioners page](@ref prec).
29
-
30
-
## Verbosity Controls
31
-
32
-
The verbosity system in LinearSolve.jl provides fine-grained control over the diagnostic messages, warnings, and errors that are displayed during the solution of linear systems.
33
-
34
-
The verbosity system is organized hierarchically into three main categories:
35
-
36
-
1. Error Control - Messages related to fallbacks and error handling
37
-
2. Performance - Messages related to performance considerations
38
-
3. Numerical - Messages related to numerical solvers and iterations
39
-
40
-
Each category can be configured independently, and individual settings can be adjusted to suit your needs.
41
-
42
-
### Verbosity Levels
43
-
The following verbosity levels are available:
44
-
45
-
#### Individual Settings
46
-
These settings are meant for individual settings within a category. These can also be used to set all of the individual settings in a group to the same value.
47
-
- Verbosity.None() - Suppress all messages
48
-
- Verbosity.Info() - Show message as log message at info level
49
-
- Verbosity.Warn() - Show warnings (default for most settings)
50
-
- Verbosity.Error() - Throw errors instead of warnings
51
-
- Verbosity.Level(n) - Show messages with a log level setting of n
52
-
53
-
#### Group Settings
54
-
These settings are meant for controlling a group of settings.
55
-
- Verbosity.Default() - Use the default settings
56
-
- Verbosity.All() - Show all possible messages
57
-
58
-
### Basic Usage
59
-
60
-
#### Global Verbosity Control
61
-
62
-
```julia
63
-
using LinearSolve
64
-
65
-
# Suppress all messages
66
-
verbose =LinearVerbosity(Verbosity.None())
67
-
prob =LinearProblem(A, b)
68
-
sol =solve(prob; verbose=verbose)
69
-
70
-
# Show all messages
71
-
verbose =LinearVerbosity(Verbosity.All())
72
-
sol =solve(prob; verbose=verbose)
73
-
74
-
# Use default settings
75
-
verbose =LinearVerbosity(Verbosity.Default())
76
-
sol =solve(prob; verbose=verbose)
77
-
```
78
-
79
-
#### Group Level Control
80
-
81
-
```julia
82
-
# Customize by category
83
-
verbose =LinearVerbosity(
84
-
error_control = Verbosity.Warn(), # Show warnings for error control related issues
0 commit comments