------------------------------------------------------------------------------
| 650 | |
| 651 | //------------------------------------------------------------------------------ |
| 652 | bool vtkStructuredGridConnectivity::IsGhostNode( |
| 653 | int GridExtent[6], int RealExtent[6], int i, int j, int k) |
| 654 | { |
| 655 | // STEP 0: Check if there are any ghost-layers. Note, if the original data |
| 656 | // that the user is registering contains ghost-layers, the users must set |
| 657 | // the number of ghost-layers. |
| 658 | if (this->NumberOfGhostLayers == 0) |
| 659 | { |
| 660 | // Grid has no ghost-layers, so, the node cannot be a ghost node |
| 661 | return false; |
| 662 | } |
| 663 | |
| 664 | bool status = false; |
| 665 | if (!this->IsNodeWithinExtent(i, j, k, RealExtent) && |
| 666 | this->IsNodeWithinExtent(i, j, k, GridExtent)) |
| 667 | { |
| 668 | status = true; |
| 669 | } |
| 670 | return (status); |
| 671 | } |
| 672 | |
| 673 | //------------------------------------------------------------------------------ |
| 674 | bool vtkStructuredGridConnectivity::IsNodeOnBoundary(int i, int j, int k) |
no test coverage detected