From bd080ff062a4184987b655500f770ffcb0a5b63e Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Thu, 14 Jan 2021 14:47:13 +0100 Subject: [PATCH] [multidomain] Only emit parallel residual warning if more than one core --- dumux/multidomain/fvassembler.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumux/multidomain/fvassembler.hh b/dumux/multidomain/fvassembler.hh index 0c48627c8d..0b94c8eb01 100644 --- a/dumux/multidomain/fvassembler.hh +++ b/dumux/multidomain/fvassembler.hh @@ -254,7 +254,7 @@ public: } else if (!warningIssued_) { - if (gridView.comm().rank() == 0) + if (gridView.comm().size() > 1 && gridView.comm().rank() == 0) std::cout << "\nWarning: norm calculation adds entries corresponding to\n" << "overlapping entities multiple times. Please use the norm\n" << "function provided by a linear solver instead." << std::endl; -- GitLab