Skip to content

polyMesh::findCell uses tree only for nearest; should use findInside directly

The underlying treeDataCell does:

return mesh_.pointInCell(sample, cellLabels_[index], decompMode_);

which is exactly the test that polyMesh::findCell does on the nearest and its neighbours.