From 9979c505b3c61095fcca58bcbb32f2d3d9d96610 Mon Sep 17 00:00:00 2001 From: Liu Ming Date: Fri, 20 May 2016 14:27:38 +0800 Subject: [PATCH] log the warning messages to OpmLog. --- opm/core/props/rock/RockCompressibility.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/opm/core/props/rock/RockCompressibility.cpp b/opm/core/props/rock/RockCompressibility.cpp index 03f384f44..4de390013 100644 --- a/opm/core/props/rock/RockCompressibility.cpp +++ b/opm/core/props/rock/RockCompressibility.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include @@ -64,14 +65,16 @@ namespace Opm if (rockKeyword.size() != 1) { // here it would be better not to use std::cout directly but to add the // warning to some "warning list"... - std::cout << "Can only handle a single region in ROCK ("<