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

Method AllocateBlockBounds

Common/DataModel/vtkOverlappingAMRMetaData.cxx:333–340  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

331
332//------------------------------------------------------------------------------
333void vtkOverlappingAMRMetaData::AllocateBlockBounds(unsigned int n)
334{
335 this->BlockBounds.clear();
336 for (unsigned int i = 0; i < n; i++)
337 {
338 this->BlockBounds.emplace_back();
339 }
340}
341
342//------------------------------------------------------------------------------
343void vtkOverlappingAMRMetaData::AllocateBoxes(unsigned int n)

Callers 1

SetBoundsMethod · 0.95

Calls 2

clearMethod · 0.45
emplace_backMethod · 0.45

Tested by

no test coverage detected