------------------------------------------------------------------------------
| 569 | |
| 570 | //------------------------------------------------------------------------------ |
| 571 | void vtkOverlappingAMRMetaData::PrintParentChildInfo(unsigned int level, unsigned int index) |
| 572 | { |
| 573 | if (!this->HasChildrenInformation()) |
| 574 | { |
| 575 | this->GenerateParentChildInformation(); |
| 576 | } |
| 577 | |
| 578 | unsigned int *ptr, i, numParents; |
| 579 | std::cerr << "Parent Child Info for block " << index << " of Level: " << level << endl; |
| 580 | ptr = this->GetParents(level, index, numParents); |
| 581 | std::cerr << " Parents: "; |
| 582 | for (i = 0; i < numParents; i++) |
| 583 | { |
| 584 | std::cerr << ptr[i] << " "; |
| 585 | } |
| 586 | std::cerr << endl; |
| 587 | std::cerr << " Children: "; |
| 588 | unsigned int numChildren; |
| 589 | ptr = this->GetChildren(level, index, numChildren); |
| 590 | for (i = 0; i < numChildren; i++) |
| 591 | { |
| 592 | std::cerr << ptr[i] << " "; |
| 593 | } |
| 594 | std::cerr << endl; |
| 595 | } |
| 596 | |
| 597 | //------------------------------------------------------------------------------ |
| 598 | void vtkOverlappingAMRMetaData::GenerateParentChildInformation() |
no test coverage detected