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

Function isValidCellSectionHeader

IO/EnSight/core/EnSightDataSet.cxx:229–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229bool isValidCellSectionHeader(const std::string& line)
230{
231 if (line.find("block") != std::string::npos)
232 {
233 return true;
234 }
235 return getElementTypeFromString(line) != ElementType::Unknown;
236}
237
238int getNumComponents(VariableType type)
239{

Callers 1

ReadVariableElementsMethod · 0.85

Calls 2

getElementTypeFromStringFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected