From 4a9dd8c4837a240d9010e3373f8af2d01e36a7ba Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 5 Jul 2013 12:19:57 +0200 Subject: [PATCH] Fixes setting the verbosity for AGMG. If verbosity is true, we set the iprint parameter such that the output is print to standard out. If not, we use a negative number such that only error messages are printed to standard out. --- opm/core/linalg/LinearSolverAGMG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/core/linalg/LinearSolverAGMG.cpp b/opm/core/linalg/LinearSolverAGMG.cpp index 2c774cda..d4743445 100644 --- a/opm/core/linalg/LinearSolverAGMG.cpp +++ b/opm/core/linalg/LinearSolverAGMG.cpp @@ -124,7 +124,7 @@ namespace Opm nrest = 10; // Suggested default number of GCR restarts. } - int iprint = linsolver_verbosity_; // Suppress most output + int iprint = linsolver_verbosity_?6:-1; // Suppress most output DAGMG_(& size, & a[0], & j[0], & i[0], rhs, solution, & ijob, & iprint, & nrest, & rpt.iterations, & rtol_);