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:
parent
79b180976f
commit
f8bad8fd92
@ -576,9 +576,11 @@ namespace Opm {
|
|||||||
store_.pc(c) = pc;
|
store_.pc(c) = pc;
|
||||||
store_.dpc(c) = dpc;
|
store_.dpc(c) = dpc;
|
||||||
}
|
}
|
||||||
if (!in_range) {
|
if (!in_range) {
|
||||||
std::cout << "Warning: initIteration() - s was clamped in some cells.\n";
|
#ifdef VERBOSE
|
||||||
}
|
std::cout << "Warning: initIteration() - s was clamped in some cells.\n";
|
||||||
|
#endif
|
||||||
|
}
|
||||||
return in_range;
|
return in_range;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user