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

Method IsNodeOnSharedBoundary

Filters/Geometry/vtkStructuredGridConnectivity.cxx:628–649  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

626
627//------------------------------------------------------------------------------
628bool vtkStructuredGridConnectivity::IsNodeOnSharedBoundary(
629 int gridID, int RealExtent[6], int i, int j, int k)
630{
631 if (this->IsNodeOnBoundaryOfExtent(i, j, k, RealExtent))
632 {
633 int orient[3];
634 this->GetIJKBlockOrientation(i, j, k, RealExtent, orient);
635 for (int ii = 0; ii < 3; ++ii)
636 {
637 if ((orient[ii] != BlockFace::NOT_ON_BLOCK_FACE) &&
638 this->HasBlockConnection(gridID, orient[ii]))
639 {
640 return true;
641 }
642 } // END for all dimensions
643 return false;
644 }
645 else
646 {
647 return false;
648 }
649}
650
651//------------------------------------------------------------------------------
652bool vtkStructuredGridConnectivity::IsGhostNode(

Callers 1

MarkNodePropertyMethod · 0.95

Calls 3

HasBlockConnectionMethod · 0.95

Tested by

no test coverage detected