------------------------------------------------------------------------------
| 514 | |
| 515 | //------------------------------------------------------------------------------ |
| 516 | inline 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 | //------------------------------------------------------------------------------ |
| 527 | inline int vtkPStructuredGridConnectivity::GetGridRank(int gridID) |
no test coverage detected