------------------------------------------------------------------------------
| 425 | |
| 426 | //------------------------------------------------------------------------------ |
| 427 | void vtkAMREnzoReader::SetUpDataArraySelections() |
| 428 | { |
| 429 | assert("pre: Internal Enzo Reader is nullptr" && (this->Internal != nullptr)); |
| 430 | this->Internal->ReadMetaData(); |
| 431 | this->Internal->GetAttributeNames(); |
| 432 | |
| 433 | int numAttrs = static_cast<int>(this->Internal->BlockAttributeNames.size()); |
| 434 | for (int i = 0; i < numAttrs; i++) |
| 435 | { |
| 436 | this->CellDataArraySelection->AddArray(this->Internal->BlockAttributeNames[i].c_str()); |
| 437 | } // END for all attributes |
| 438 | } |
| 439 | VTK_ABI_NAMESPACE_END |
no test coverage detected