Remove global reduce in immersed boundary polyPatch. Testing, load balance
This commit is contained in:
parent
69d3b15a86
commit
556b9c0731
1 changed files with 3 additions and 2 deletions
|
@ -1056,9 +1056,11 @@ void Foam::immersedBoundaryPolyPatch::calcImmersedBoundary() const
|
||||||
totalIbCount[3] = nDeadFaces;
|
totalIbCount[3] = nDeadFaces;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reduce is not allowed in parallel load balancing
|
||||||
|
// HJ, 24/Oct/2018
|
||||||
// if (debug)
|
// if (debug)
|
||||||
{
|
{
|
||||||
reduce(totalIbCount, sumOp<List<label> >());
|
// reduce(totalIbCount, sumOp<List<label> >());
|
||||||
|
|
||||||
Info<< "Immersed boundary " << name() << " info: "
|
Info<< "Immersed boundary " << name() << " info: "
|
||||||
<< "nIbCells: " << totalIbCount[0]
|
<< "nIbCells: " << totalIbCount[0]
|
||||||
|
@ -1327,7 +1329,6 @@ Foam::immersedBoundaryPolyPatch::immersedBoundaryPolyPatch
|
||||||
correctedIbPatchFaceAreasPtr_(NULL),
|
correctedIbPatchFaceAreasPtr_(NULL),
|
||||||
oldIbPointsPtr_(NULL)
|
oldIbPointsPtr_(NULL)
|
||||||
{
|
{
|
||||||
Pout<< "READ CONSTRUCTOR" << endl;
|
|
||||||
if (size() > 0)
|
if (size() > 0)
|
||||||
{
|
{
|
||||||
FatalIOErrorIn
|
FatalIOErrorIn
|
||||||
|
|
Reference in a new issue