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

Method GetNumberOfNeighbors

Filters/Geometry/vtkStructuredAMRGridConnectivity.h:521–528  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

519
520//------------------------------------------------------------------------------
521inline int vtkStructuredAMRGridConnectivity::GetNumberOfNeighbors(int gridID)
522{
523 assert("pre: grid ID is out-of-bounds" && (gridID >= 0) &&
524 (gridID < static_cast<int>(this->NumberOfGrids)));
525 assert("pre: neighbors vector has not been properly allocated" &&
526 (this->Neighbors.size() == this->NumberOfGrids));
527 return (static_cast<int>(this->Neighbors[gridID].size()));
528}
529
530//------------------------------------------------------------------------------
531inline vtkStructuredAMRNeighbor vtkStructuredAMRGridConnectivity::GetNeighbor(int gridID, int nei)

Callers 11

GetGridNeighborMethod · 0.45
GetNeighborsMethod · 0.45
EstablishNeighborsMethod · 0.45
PackGhostDataMethod · 0.45
SerializeBufferSizesMethod · 0.45
UnpackGhostDataMethod · 0.45
ExchangeGhostDataMethod · 0.45
operator()Method · 0.45

Calls 2

assertFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected