------------------------------------------------------------------------------
| 79 | |
| 80 | //------------------------------------------------------------------------------ |
| 81 | int vtkAMREnzoReader::GetIndexFromArrayName(std::string arrayName) |
| 82 | { |
| 83 | char stringIdx[2]; |
| 84 | stringIdx[0] = arrayName.at(arrayName.size() - 2); |
| 85 | stringIdx[1] = '\0'; |
| 86 | int value = 0; |
| 87 | vtk::from_chars(stringIdx, stringIdx + 2, value); |
| 88 | return value; |
| 89 | } |
| 90 | |
| 91 | //------------------------------------------------------------------------------ |
| 92 | double vtkAMREnzoReader::GetConversionFactor(const std::string& name) |
no test coverage detected