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

Method MarkNodeProperty

Filters/Geometry/vtkStructuredAMRGridConnectivity.cxx:1247–1266  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1245
1246//------------------------------------------------------------------------------
1247void vtkStructuredAMRGridConnectivity::MarkNodeProperty(
1248 int gridId, int i, int j, int k, int gridExt[6], int wholeExt[6], unsigned char& p)
1249{
1250 p = 0;
1251
1252 if (!this->IsNodeInterior(i, j, k, gridExt))
1253 {
1254 if (this->IsNodeOnBoundaryOfExtent(i, j, k, wholeExt))
1255 {
1256 // We might use BOUNDARY in the future
1257 }
1258
1259 if (this->IsNodeOnSharedBoundary(i, j, k, gridId, gridExt))
1260 {
1261 // NOTE: for AMR grids, all the grids own all of their points so we don't
1262 // ignore any of the points.
1263 // We might use SHARED in the future
1264 }
1265 }
1266}
1267
1268//------------------------------------------------------------------------------
1269void vtkStructuredAMRGridConnectivity::FillNodesGhostArray(

Callers 1

FillNodesGhostArrayMethod · 0.95

Calls 3

IsNodeInteriorMethod · 0.95

Tested by

no test coverage detected