Skip to content
Snippets Groups Projects
Commit 20e49069 authored by Julian Heinze's avatar Julian Heinze
Browse files

changed docu for removeUnusedGridCells

-now in header
parent 56aa794c
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,6 @@ std::vector<int> assignCellIds(vtkSmartPointer<vtkUnstructuredGrid> const& mesh, ...@@ -86,7 +86,6 @@ std::vector<int> assignCellIds(vtkSmartPointer<vtkUnstructuredGrid> const& mesh,
return cell_ids; return cell_ids;
} }
// PropertyVector is required to contain parameter cell_id_name
bool removeUnusedGridCells(vtkSmartPointer<vtkUnstructuredGrid> const& mesh, bool removeUnusedGridCells(vtkSmartPointer<vtkUnstructuredGrid> const& mesh,
std::unique_ptr<MeshLib::Mesh>& grid) std::unique_ptr<MeshLib::Mesh>& grid)
{ {
......
...@@ -43,6 +43,7 @@ std::vector<int> assignCellIds(vtkSmartPointer<vtkUnstructuredGrid> const& mesh, ...@@ -43,6 +43,7 @@ std::vector<int> assignCellIds(vtkSmartPointer<vtkUnstructuredGrid> const& mesh,
std::array<std::size_t, 3> const& dims, std::array<std::size_t, 3> const& dims,
std::array<double, 3> const& cellsize); std::array<double, 3> const& cellsize);
// grid has to contain a PropertyVector with the name 'CellIds'
bool removeUnusedGridCells(vtkSmartPointer<vtkUnstructuredGrid> const& mesh, bool removeUnusedGridCells(vtkSmartPointer<vtkUnstructuredGrid> const& mesh,
std::unique_ptr<MeshLib::Mesh>& grid); std::unique_ptr<MeshLib::Mesh>& grid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment