From 2fb0b4a7e56010f3892fc1805eb626733cb341a9 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Tue, 25 Nov 2014 17:40:13 +0100 Subject: [PATCH] ECL wells: deactivate the well performance output at the end of a time step it is just deactivated using an always-false condition so it does not bitrot and can be re-activated quickly. I did not want to completely remove this code because it is useful for debugging purposes, but for regular use, it should have been superseeded by the ECL summary output stuff... --- ewoms/wells/eclpeacemanwell.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ewoms/wells/eclpeacemanwell.hh b/ewoms/wells/eclpeacemanwell.hh index e155243b7..d5be63f61 100644 --- a/ewoms/wells/eclpeacemanwell.hh +++ b/ewoms/wells/eclpeacemanwell.hh @@ -953,7 +953,9 @@ public: */ void endTimeStep() { - if (simulator_.gridView().comm().rank() == 0) { + // we use a condition that is always false here to prevent the code below from + // bitrotting. (i.e., at least it stays compileable) + if (false && simulator_.gridView().comm().rank() == 0) { std::cout << "Well '" << name() << "':\n"; std::cout << " Control mode: " << controlMode_ << "\n"; std::cout << " BHP limit: " << bhpLimit_/1e5 << " bar\n";