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

Method GetTreeGhostArray

Common/DataModel/vtkHyperTreeGrid.cxx:1780–1792  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1778
1779//------------------------------------------------------------------------------
1780vtkUnsignedCharArray* vtkHyperTreeGrid::GetTreeGhostArray()
1781{
1782 if (!this->TreeGhostArrayCached)
1783 {
1784 this->TreeGhostArray = vtkArrayDownCast<vtkUnsignedCharArray>(
1785 this->GetCellData()->GetArray(vtkDataSetAttributes::GhostArrayName()));
1786 this->TreeGhostArrayCached = true;
1787 }
1788 assert(this->TreeGhostArray ==
1789 vtkArrayDownCast<vtkUnsignedCharArray>(
1790 this->GetCellData()->GetArray(vtkDataSetAttributes::GhostArrayName())));
1791 return this->TreeGhostArray;
1792}
1793
1794//------------------------------------------------------------------------------
1795vtkUnsignedCharArray* vtkHyperTreeGrid::AllocateTreeGhostArray()

Callers 1

Calls 4

GetCellDataMethod · 0.95
GhostArrayNameFunction · 0.85
assertFunction · 0.50
GetArrayMethod · 0.45

Tested by

no test coverage detected