----------------------------------------------------------------------------
| 292 | |
| 293 | //---------------------------------------------------------------------------- |
| 294 | bool vtkGhostCellsGenerator::CanSynchronize( |
| 295 | vtkDataObject* input, bool& canSyncCell, bool& canSyncPoint) |
| 296 | { |
| 297 | vtkDataSetAttributes* inputCell = input->GetAttributes(vtkDataObject::AttributeTypes::CELL); |
| 298 | vtkDataSetAttributes* inputPoint = input->GetAttributes(vtkDataObject::AttributeTypes::POINT); |
| 299 | canSyncCell = inputCell && inputCell->GetGhostArray() && inputCell->GetGlobalIds() && |
| 300 | inputCell->GetProcessIds(); |
| 301 | canSyncPoint = inputPoint && inputPoint->GetGhostArray() && inputPoint->GetGlobalIds() && |
| 302 | inputPoint->GetProcessIds(); |
| 303 | |
| 304 | return canSyncCell && canSyncPoint; |
| 305 | } |
| 306 | |
| 307 | //---------------------------------------------------------------------------- |
| 308 | bool vtkGhostCellsGenerator::UseCacheIfPossible(vtkDataObject* input, vtkDataObject* output) |
nothing calls this directly
no test coverage detected