Skip to content
Snippets Groups Projects
Commit f1e0067c authored by mattijs's avatar mattijs
Browse files

ENH: cellDistFuncs: use on-the-fly pointCells calculation

parent a05f38db
No related merge requests found
......@@ -330,7 +330,6 @@ void Foam::cellDistFuncs::correctBoundaryPointCells
{
// Correct all (non-visited) cells with point on wall
const labelListList& pointCells = mesh().pointCells();
const vectorField& cellCentres = mesh().cellCentres();
forAll(mesh().boundaryMesh(), patchI)
......@@ -346,7 +345,7 @@ void Foam::cellDistFuncs::correctBoundaryPointCells
{
label vertI = meshPoints[meshPointI];
const labelList& neighbours = pointCells[vertI];
const labelList& neighbours = mesh().pointCells(vertI);
forAll(neighbours, neighbourI)
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment