MCPcopy Create free account
hub / github.com/Kitware/VTK / GetPartArrayID

Method GetPartArrayID

IO/Exodus/vtkExodusIIReader.cxx:6171–6182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6169}
6170
6171int vtkExodusIIReader::GetPartArrayID(const char* name)
6172{
6173 int numArrays = this->GetNumberOfPartArrays();
6174 for (int i = 0; i < numArrays; i++)
6175 {
6176 if (strcmp(name, this->GetPartArrayName(i)) == 0)
6177 {
6178 return i;
6179 }
6180 }
6181 return -1;
6182}
6183
6184const char* vtkExodusIIReader::GetPartBlockInfo(int arrayIdx)
6185{

Callers 1

GetVariableIDMethod · 0.95

Calls 2

GetNumberOfPartArraysMethod · 0.95
GetPartArrayNameMethod · 0.95

Tested by

no test coverage detected