------------------------------------------------------------------------------
| 163 | } |
| 164 | //------------------------------------------------------------------------------ |
| 165 | int vtkH5PartReader::IndexOfVectorComponent(const char* name) |
| 166 | { |
| 167 | if (!this->CombineVectorComponents) |
| 168 | { |
| 169 | return 0; |
| 170 | } |
| 171 | // |
| 172 | vtksys::RegularExpression re1(".*_([0-9]+)"); |
| 173 | if (re1.find(name)) |
| 174 | { |
| 175 | int index; |
| 176 | VTK_FROM_CHARS_IF_ERROR_RETURN(re1.match(1), index, 0); |
| 177 | return index + 1; |
| 178 | } |
| 179 | return 0; |
| 180 | } |
| 181 | //------------------------------------------------------------------------------ |
| 182 | std::string vtkH5PartReader::NameOfVectorComponent(const char* name) |
| 183 | { |
no test coverage detected