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

Method GetConnTypeIndexFromConnType

IO/Exodus/vtkExodusIIReader.cxx:2863–2874  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2861
2862//------------------------------------------------------------------------------
2863int vtkExodusIIReaderPrivate::GetConnTypeIndexFromConnType(int ctyp)
2864{
2865 int i;
2866 for (i = 0; i < num_conn_types; ++i)
2867 {
2868 if (conn_types[i] == ctyp)
2869 {
2870 return i;
2871 }
2872 }
2873 return -1;
2874}
2875
2876//------------------------------------------------------------------------------
2877int vtkExodusIIReaderPrivate::GetObjectTypeIndexFromObjectType(int otyp)

Callers 2

GetCacheOrReadMethod · 0.95
SetAllArrayStatusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected