MCPcopy Create free account
hub / github.com/Kitware/VTK / GetGlobalNodeIndexMax

Method GetGlobalNodeIndexMax

Common/DataModel/vtkHyperTreeGrid.cxx:1540–1552  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1538
1539//------------------------------------------------------------------------------
1540vtkIdType vtkHyperTreeGrid::GetGlobalNodeIndexMax()
1541{
1542 // Iterate over all hyper trees
1543 vtkIdType max = 0;
1544 vtkHyperTree* crtTree = nullptr;
1545 vtkHyperTreeGridIterator it;
1546 this->InitializeTreeIterator(it);
1547 while ((crtTree = it.GetNextTree()))
1548 {
1549 max = std::max(max, crtTree->GetGlobalNodeIndexMax());
1550 } // it
1551 return max;
1552}
1553
1554//------------------------------------------------------------------------------
1555void vtkHyperTreeGrid::InitializeLocalIndexNode()

Callers 1

GetPureMaskMethod · 0.95

Calls 3

GetNextTreeMethod · 0.80
maxFunction · 0.50

Tested by

no test coverage detected