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

Method FreeIntArrays

Filters/ParallelGeometry/vtkPDistributedDataFilter.cxx:1155–1166  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1153
1154//------------------------------------------------------------------------------
1155void vtkPDistributedDataFilter::FreeIntArrays(vtkIdTypeArray** ar)
1156{
1157 for (int i = 0; i < this->NumProcesses; i++)
1158 {
1159 if (ar[i])
1160 {
1161 ar[i]->Delete();
1162 }
1163 }
1164
1165 delete[] ar;
1166}
1167
1168//------------------------------------------------------------------------------
1169void vtkPDistributedDataFilter::FreeIdLists(vtkIdList** lists, int nlists)

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected