From a3d19d6a0ee0c4117d7851c4f130469b81d9be1a Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Mon, 13 Dec 2010 09:34:16 +0000
Subject: [PATCH] set IPOpt print_level to 0 if Solver::QUIET is requested. 
 Negative values appear not to be allowed anymore

[[Imported from SVN: r6591]]
---
 dune/gfe/averageinterface.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/gfe/averageinterface.hh b/dune/gfe/averageinterface.hh
index d607796e..3f671ddd 100644
--- a/dune/gfe/averageinterface.hh
+++ b/dune/gfe/averageinterface.hh
@@ -611,7 +611,7 @@ void computeAveragePressure(const Dune::FieldVector<double,GridType::dimension>&
     app->Options()->SetStringValue("output_file", "ipopt.out");
     app->Options()->SetStringValue("hessian_approximation", "limited-memory");
     app->Options()->SetStringValue("jac_c_constant", "yes");
-    app->Options()->SetIntegerValue("print_level", -2);
+    app->Options()->SetIntegerValue("print_level", 0);
 
     // Intialize the IpoptApplication and process the options
     Ipopt::ApplicationReturnStatus status;
-- 
GitLab