Changed: Also log multi-threading on faces to IFEM::cout

This commit is contained in:
Knut Morten Okstad 2022-03-22 12:22:58 +01:00
parent 6b322da4b6
commit b672585ecc

View File

@ -3501,14 +3501,16 @@ void ASMs3D::generateThreadGroups (char lIndex, bool silence, bool)
fGrp.applyMap(map); fGrp.applyMap(map);
if (!silence && fGrp.size() > 1) if (silence || fGrp.size() < 2) return;
for (size_t i = 0; i < fGrp.size(); i++)
{ for (size_t i = 0; i < fGrp.size(); i++)
std::cout <<"\n Thread group "<< i+1 <<" for boundary face "<<(int)lIndex; {
for (size_t j = 0; j < fGrp[i].size(); j++) IFEM::cout <<"\n Thread group "<< i+1 <<" for boundary face "<< (int)lIndex;
std::cout <<"\n\tthread "<< j+1 for (size_t j = 0; j < fGrp[i].size(); j++)
<< ": "<< fGrp[i][j].size() <<" elements"; IFEM::cout <<"\n\tthread "<< j+1
} << ": "<< fGrp[i][j].size() <<" elements";
}
IFEM::cout << std::endl;
} }