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

Method GetMapTypeFromObjectType

IO/Exodus/vtkExodusIIReader.cxx:3288–3302  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

3286
3287//------------------------------------------------------------------------------
3288int vtkExodusIIReaderPrivate::GetMapTypeFromObjectType(int otyp)
3289{
3290 switch (otyp)
3291 {
3292 case vtkExodusIIReader::ELEM_BLOCK:
3293 return vtkExodusIIReader::ELEM_MAP;
3294 case vtkExodusIIReader::FACE_BLOCK:
3295 return vtkExodusIIReader::FACE_MAP;
3296 case vtkExodusIIReader::EDGE_BLOCK:
3297 return vtkExodusIIReader::EDGE_MAP;
3298 case vtkExodusIIReader::NODAL:
3299 return vtkExodusIIReader::NODE_MAP;
3300 }
3301 return -1;
3302}
3303
3304//------------------------------------------------------------------------------
3305int vtkExodusIIReaderPrivate::GetTemporalTypeFromObjectType(int otyp)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected