diff --git a/src/mesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.C b/src/mesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.C index e9bf2cc5dd..69fdc97015 100644 --- a/src/mesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.C +++ b/src/mesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.C @@ -861,7 +861,9 @@ Foam::autoPtr Foam::backgroundMeshDecomposition::distribute ( volScalarField& cellWeights, - List >& cellVertices + List >& cellVertices, + List >& cellVertexIndices, + List >& cellVertexTypes ) { if (debug) @@ -953,19 +955,27 @@ Foam::backgroundMeshDecomposition::distribute meshCutter_.updateMesh(map); { - // Map cellVertices + // Map cellVertices, cellVertexIndices and cellVertexTypes meshSearch cellSearch(mesh_); const labelList& reverseCellMap = map().reverseCellMap(); List > newCellVertices(mesh_.nCells()); + List > newCellVertexIndices(mesh_.nCells()); + List > newCellVertexTypes(mesh_.nCells()); forAll(cellVertices, oldCellI) { DynamicList& oldCellVertices = cellVertices[oldCellI]; + DynamicList