------------------------------------------------------------------------------
| 126 | |
| 127 | //------------------------------------------------------------------------------ |
| 128 | void vtkCPExodusIIElementBlockImpl::GetPointCells(vtkIdType ptId, vtkIdList* cellIds) |
| 129 | { |
| 130 | const int targetElement = PointToNode(ptId); |
| 131 | int* element = this->GetStart(); |
| 132 | int* elementEnd = this->GetEnd(); |
| 133 | |
| 134 | cellIds->Reset(); |
| 135 | |
| 136 | element = std::find(element, elementEnd, targetElement); |
| 137 | while (element != elementEnd) |
| 138 | { |
| 139 | cellIds->InsertNextId(static_cast<vtkIdType>((element - this->Elements) / this->CellSize)); |
| 140 | element = std::find(element, elementEnd, targetElement); |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | //------------------------------------------------------------------------------ |
| 145 | int vtkCPExodusIIElementBlockImpl::GetMaxCellSize() |
no test coverage detected