Resize based on actual patch size: immersed boundary

This commit is contained in:
Hrvoje Jasak 2017-12-30 09:31:03 +00:00
parent bfee0e5dc0
commit 74240dbc1b

View file

@ -188,7 +188,6 @@ Foam::label Foam::cellDistFuncs::getPointNeighbours
}
}
if (debug)
{
// Check for duplicates
@ -263,9 +262,10 @@ Foam::label Foam::cellDistFuncs::maxPatchSize(const labelHashSet& patchIDs)
{
const polyPatch& patch = mesh().boundaryMesh()[patchI];
maxSize = Foam::max(maxSize, patch.size());
maxSize = Foam::max(maxSize, patch.faceCells().size());
}
}
return maxSize;
}