Resize based on actual patch size: immersed boundary
This commit is contained in:
parent
bfee0e5dc0
commit
74240dbc1b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue