@@ -5,7 +5,8 @@ using HYPRE.LibHYPRE: HYPRE_Complex
5
5
using HYPRE: HYPRE, HYPREMatrix, HYPRESolver, HYPREVector
6
6
using LinearSolve: HYPREAlgorithm, LinearCache, LinearProblem, LinearSolve,
7
7
OperatorAssumptions, default_tol, init_cacheval, __issquare,
8
- __conditioning, LinearSolveAdjoint
8
+ __conditioning, LinearSolveAdjoint, LinearVerbosity
9
+ using SciMLLogging: Verbosity, verbosity_to_int
9
10
using SciMLBase: LinearProblem, LinearAliasSpecifier, SciMLBase
10
11
using UnPack: @unpack
11
12
using Setfield: @set!
@@ -159,10 +160,11 @@ function create_solver(alg::HYPREAlgorithm, cache::LinearCache)
159
160
solver = create_solver (alg. solver, comm)
160
161
161
162
# Construct solver options
163
+ verbose = verbosity_to_int (cache. verbose. numerical. HYPRE_verbosity)
162
164
solver_options = (;
163
165
AbsoluteTol = cache. abstol,
164
166
MaxIter = cache. maxiters,
165
- PrintLevel = Int (cache . verbose) ,
167
+ PrintLevel = verbose,
166
168
Tol = cache. reltol)
167
169
168
170
# Preconditioner (uses Pl even though it might not be a *left* preconditioner just *a*
0 commit comments