Skip to content
Snippets Groups Projects
Commit 35a2db86 authored by David Thompson's avatar David Thompson
Browse files

Remove dead code.

parent 5414084b
No related branches found
No related tags found
No related merge requests found
......@@ -74,35 +74,6 @@ bool vtkCellGridSidesQuery::Finalize()
return true;
}
#if 0
void vtkCellGridSidesQuery::SummarizeSides()
{
this->Sides.clear();
#ifdef VTK_DBG_SUMMARIZE_SIDES
std::cout << "Hash table\n";
for (const auto& entry : this->Hashes)
{
std::cout << " " << std::hex << entry.first << std::dec << "\n";
for (const auto& side : entry.second.Sides)
{
std::cout << " " << side.CellType.Data() << " " << side.SideShape.Data() << ": " << side.DOF << " " << side.SideId << "\n";
}
}
#endif
for (const auto& entry : this->Hashes)
{
if (entry.second.Sides.size() % 2 == 0)
{
continue; // Do not output matching pairs of sides.
}
for (const auto& ss : entry.second.Sides)
{
this->Sides[ss.CellType][ss.SideShape][ss.DOF].insert(ss.SideId);
}
}
}
#endif // 0
std::vector<vtkCellGridSidesQuery::SideSetArray> vtkCellGridSidesQuery::GetSideSetArrays(
vtkStringToken cellType)
{
......
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