Skip to content
Snippets Groups Projects
Commit 64d6e068 authored by wenqing's avatar wenqing
Browse files

[FileIO] Moved #endif and added the file path to one include.

parent 3d98fd9b
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "readMeshFromFile.h" #include "readMeshFromFile.h"
// FileIO : for reading partitioned mesh. // FileIO : for reading partitioned mesh.
#ifdef USE_PETSC #ifdef USE_PETSC
#include "MPI_IO/NodePartitionedMeshReader.h" #include "FileIO/MPI_IO/NodePartitionedMeshReader.h"
#include "MeshLib/NodePartitionedMesh.h" #include "MeshLib/NodePartitionedMesh.h"
#endif #endif
...@@ -55,9 +55,9 @@ MeshLib::Mesh* readMeshFromFile(const std::string &file_name) ...@@ -55,9 +55,9 @@ MeshLib::Mesh* readMeshFromFile(const std::string &file_name)
if (BaseLib::hasFileExtension("vtu", file_name)) if (BaseLib::hasFileExtension("vtu", file_name))
return VtuInterface::readVTUFile(file_name); return VtuInterface::readVTUFile(file_name);
#endif
ERR("readMeshFromFile(): Unknown mesh file format in file %s.", file_name.c_str()); ERR("readMeshFromFile(): Unknown mesh file format in file %s.", file_name.c_str());
return nullptr; return nullptr;
#endif
} }
} // end namespace FileIO } // end namespace FileIO
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment