------------------------------------------------------------------------------
| 2678 | |
| 2679 | //------------------------------------------------------------------------------ |
| 2680 | void EnSightDataSet::CheckForOptionalHeader(const std::string& sectionName) |
| 2681 | { |
| 2682 | // some data has an optional string before it. e.g., for ghost flags, |
| 2683 | // there may be a string "ghost_flags" preceding it |
| 2684 | if (!sectionName.empty()) |
| 2685 | { |
| 2686 | auto result = this->GeometryFile.ReadNextLine(); |
| 2687 | if (result.second.find(sectionName) == std::string::npos) |
| 2688 | { |
| 2689 | this->GeometryFile.GoBackOneLine(); |
| 2690 | } |
| 2691 | } |
| 2692 | } |
| 2693 | |
| 2694 | //------------------------------------------------------------------------------ |
| 2695 | void EnSightDataSet::ReadCell(ElementType eType, vtkUnstructuredGrid* output, |
no test coverage detected