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

Method IsGridLocal

Filters/ParallelGeometry/vtkPStructuredGridConnectivity.h:516–524  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

514
515//------------------------------------------------------------------------------
516inline bool vtkPStructuredGridConnectivity::IsGridLocal(int gridID)
517{
518 assert("pre: Instance has not been initialized!" && this->Initialized);
519 assert("pre: gridID is out-of-bounds" && (gridID >= 0) &&
520 (gridID < static_cast<int>(this->NumberOfGrids)));
521 assert(
522 "pre: GridRanks is not properly allocated" && this->NumberOfGrids == this->GridRanks.size());
523 return ((this->GridRanks[gridID] == this->Rank));
524}
525
526//------------------------------------------------------------------------------
527inline int vtkPStructuredGridConnectivity::GetGridRank(int gridID)

Callers 11

CreateGhostLayersMethod · 0.95
PostReceivesMethod · 0.95
PostSendsMethod · 0.95
SerializeGhostDataMethod · 0.95
IsGridRemoteMethod · 0.95

Calls 2

assertFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected