questionable code in shortestPathSet genSamples
From inspection looks like size mismatch or funny comments
// Seed faces and points on 'real' boundary
bitSet isBlockedPoint(mesh.nPoints());
{
// Real boundaries
const polyBoundaryMesh& pbm = mesh.boundaryMesh();
for (label patchi : wallPatches)
{
const polyPatch& pp = pbm[patchi];
forAll(pp, i)
{
isBlockedPoint.set(pp[i]);
}
}
// Meshed boundaries
forAll(isBlockedFace, facei)
{
if (isBlockedFace[facei])
{
isBlockedPoint.set(mesh.faces()[facei]);
}
}
syncTools::syncPointList
(
mesh,
isBlockedPoint,
orEqOp<unsigned int>(),
0u
);
Looks to be seeding with faces, but treating as points? @Mattijs