------------------------------------------------------------------------------
| 349 | |
| 350 | //------------------------------------------------------------------------------ |
| 351 | bool EnSightFile::CheckForEndTimeStepLine() |
| 352 | { |
| 353 | // When file sets are used, multiple time steps are in a single file. |
| 354 | // each time step is between lines saying END TIME STEP and END TIME STEP |
| 355 | if (this->FileSet == -1) |
| 356 | { |
| 357 | return false; |
| 358 | } |
| 359 | |
| 360 | auto result = this->ReadNextLine(); |
| 361 | if (result.second.find("END TIME STEP") != std::string::npos) |
| 362 | { |
| 363 | return true; |
| 364 | } |
| 365 | this->GoBackOneLine(); |
| 366 | return false; |
| 367 | } |
| 368 | |
| 369 | //------------------------------------------------------------------------------ |
| 370 | void EnSightFile::ResetFile() |
no test coverage detected