------------------------------------------------------------------------------
| 299 | |
| 300 | //------------------------------------------------------------------------------ |
| 301 | void vtkStructuredGridConnectivity::MarkCellProperty( |
| 302 | unsigned char& pfield, unsigned char* nodeGhostFields, int numNodes) |
| 303 | { |
| 304 | // Sanity check |
| 305 | assert("pre: node ghostfields should not be nullptr" && (nodeGhostFields != nullptr)); |
| 306 | |
| 307 | pfield = 0; |
| 308 | |
| 309 | for (int i = 0; i < numNodes; ++i) |
| 310 | { |
| 311 | if (nodeGhostFields[i] & vtkDataSetAttributes::DUPLICATEPOINT) |
| 312 | { |
| 313 | pfield |= vtkDataSetAttributes::DUPLICATECELL; |
| 314 | return; |
| 315 | } |
| 316 | } // END for all nodes |
| 317 | } |
| 318 | |
| 319 | //------------------------------------------------------------------------------ |
| 320 | void vtkStructuredGridConnectivity::MarkNodeProperty( |
no test coverage detected