------------------------------------------------------------------------------
| 6458 | |
| 6459 | //------------------------------------------------------------------------------ |
| 6460 | int vtkExodusIIReader::GetVariableID(const char* type, const char* name) |
| 6461 | { |
| 6462 | int otyp = this->GetObjectTypeFromName(type); |
| 6463 | if (otyp < 0) |
| 6464 | { |
| 6465 | return 0; |
| 6466 | } |
| 6467 | switch (otyp) |
| 6468 | { |
| 6469 | case NODAL: |
| 6470 | case EDGE_BLOCK: |
| 6471 | case FACE_BLOCK: |
| 6472 | case ELEM_BLOCK: |
| 6473 | case NODE_SET: |
| 6474 | case EDGE_SET: |
| 6475 | case FACE_SET: |
| 6476 | case SIDE_SET: |
| 6477 | case ELEM_SET: |
| 6478 | return this->GetObjectArrayIndex(otyp, name); |
| 6479 | case ASSEMBLY: |
| 6480 | return this->GetAssemblyArrayID(name); |
| 6481 | case HIERARCHY: |
| 6482 | return -1; // FIXME: There is no this->GetHierarchyArrayID( name ) and it's not clear there |
| 6483 | // should be. |
| 6484 | case MATERIAL: |
| 6485 | return this->GetMaterialArrayID(name); |
| 6486 | case PART: |
| 6487 | return this->GetPartArrayID(name); |
| 6488 | default: |
| 6489 | return -1; |
| 6490 | } |
| 6491 | } |
| 6492 | |
| 6493 | int vtkExodusIIReader::GetTimeSeriesData( |
| 6494 | int ID, const char* vName, const char* vType, vtkFloatArray* result) |
no test coverage detected