| 4977 | } |
| 4978 | |
| 4979 | int vtkExodusIIReaderPrivate::GetNumberOfObjectArrayComponents(int otyp, int i) |
| 4980 | { |
| 4981 | std::map<int, std::vector<ArrayInfoType>>::iterator it = this->ArrayInfo.find(otyp); |
| 4982 | if (it != this->ArrayInfo.end()) |
| 4983 | { |
| 4984 | int N = (int)it->second.size(); |
| 4985 | if (i < 0 || i >= N) |
| 4986 | { |
| 4987 | vtkDebugMacro("You requested array " << i << " in a collection of only " << N << " arrays."); |
| 4988 | return 0; |
| 4989 | } |
| 4990 | return it->second[i].Components; |
| 4991 | } |
| 4992 | vtkDebugMacro("Could not find collection of arrays for objects of type " |
| 4993 | << otyp << " (" << objtype_names[this->GetObjectTypeIndexFromObjectType(otyp)] << ")."); |
| 4994 | return 0; |
| 4995 | } |
| 4996 | |
| 4997 | int vtkExodusIIReaderPrivate::GetObjectArrayStatus(int otyp, int i) |
| 4998 | { |
no test coverage detected