Skip to content
Snippets Groups Projects
Commit bd080ff0 authored by Timo Koch's avatar Timo Koch
Browse files

[multidomain] Only emit parallel residual warning if more than one core

parent a03605c7
No related branches found
No related tags found
1 merge request!2444Fix/parallel helper cancommunicate
...@@ -254,7 +254,7 @@ public: ...@@ -254,7 +254,7 @@ public:
} }
else if (!warningIssued_) 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" std::cout << "\nWarning: norm calculation adds entries corresponding to\n"
<< "overlapping entities multiple times. Please use the norm\n" << "overlapping entities multiple times. Please use the norm\n"
<< "function provided by a linear solver instead." << std::endl; << "function provided by a linear solver instead." << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment