Change verbosity level of warning message in transport solver

Don't print message "s was clamped in some cells" unless preprocessor
symbol 'VERBOSE' is set.
This commit is contained in:
Lars Vingli Odsæter 2013-06-20 13:30:23 +02:00
parent 79b180976f
commit f8bad8fd92

View File

@ -576,9 +576,11 @@ namespace Opm {
store_.pc(c) = pc;
store_.dpc(c) = dpc;
}
if (!in_range) {
std::cout << "Warning: initIteration() - s was clamped in some cells.\n";
}
if (!in_range) {
#ifdef VERBOSE
std::cout << "Warning: initIteration() - s was clamped in some cells.\n";
#endif
}
return in_range;
}