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

Method AllocateInternalDataStructures

Filters/Geometry/vtkAbstractGridConnectivity.h:344–354  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

342
343//------------------------------------------------------------------------------
344inline void vtkAbstractGridConnectivity::AllocateInternalDataStructures()
345{
346 assert("pre: Allocating Internal data-structured for N > 0 grids" && (this->NumberOfGrids > 0));
347
348 this->GhostedGridPointData.resize(this->NumberOfGrids, nullptr);
349 this->GhostedGridCellData.resize(this->NumberOfGrids, nullptr);
350 this->GhostedPointGhostArray.resize(this->NumberOfGrids, nullptr);
351 this->GhostedCellGhostArray.resize(this->NumberOfGrids, nullptr);
352 this->GhostedGridPoints.resize(this->NumberOfGrids, nullptr);
353 this->AllocatedGhostDataStructures = true;
354}
355
356//------------------------------------------------------------------------------
357inline void vtkAbstractGridConnectivity::DeAllocateInternalDataStructures()

Callers 3

CreateGhostLayersMethod · 0.80
CreateGhostLayersMethod · 0.80
CreateGhostLayersMethod · 0.80

Calls 2

assertFunction · 0.50
resizeMethod · 0.45

Tested by

no test coverage detected