diff --git a/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp b/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp index 37a3e9d331d4919c5c33f934284092f96542aaae..a8d0284f27bf789bc2b3066cdaeb454a05c85624 100644 --- a/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp +++ b/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp @@ -86,7 +86,6 @@ std::vector<int> assignCellIds(vtkSmartPointer<vtkUnstructuredGrid> const& mesh, return cell_ids; } -// PropertyVector is required to contain parameter cell_id_name bool removeUnusedGridCells(vtkSmartPointer<vtkUnstructuredGrid> const& mesh, std::unique_ptr<MeshLib::Mesh>& grid) { diff --git a/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.h b/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.h index 13f6598d349af75cd842d026746d58c4375aedd5..aef731e64cd1886a5b41dfe92fb367be59c072f2 100644 --- a/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.h +++ b/MeshToolsLib/MeshGenerators/VoxelGridFromMesh.h @@ -43,6 +43,7 @@ std::vector<int> assignCellIds(vtkSmartPointer<vtkUnstructuredGrid> const& mesh, std::array<std::size_t, 3> const& dims, std::array<double, 3> const& cellsize); +// grid has to contain a PropertyVector with the name 'CellIds' bool removeUnusedGridCells(vtkSmartPointer<vtkUnstructuredGrid> const& mesh, std::unique_ptr<MeshLib::Mesh>& grid);