------------------------------------------------------------------------------
| 893 | |
| 894 | //------------------------------------------------------------------------------ |
| 895 | bool vtkFLUENTReader::OpenDataFile(const char* filename) |
| 896 | { |
| 897 | std::string dfilename(filename); |
| 898 | dfilename.erase(dfilename.length() - 3, 3); |
| 899 | dfilename.append("dat"); |
| 900 | |
| 901 | std::ios_base::openmode mode = ios::in; |
| 902 | #ifdef _WIN32 |
| 903 | mode |= ios::binary; |
| 904 | #endif |
| 905 | this->FluentDataFile = new vtksys::ifstream(dfilename.c_str(), mode); |
| 906 | return !this->FluentDataFile->fail(); |
| 907 | } |
| 908 | |
| 909 | //------------------------------------------------------------------------------ |
| 910 | int vtkFLUENTReader::GetCaseChunk() |
no test coverage detected