diff --git a/Applications/DataExplorer/mainwindow.cpp b/Applications/DataExplorer/mainwindow.cpp index 4200dff96de1ac923a52bda89a4c28d2291ed491..4d3698e56b235b93990ca4773766648b9921b089 100644 --- a/Applications/DataExplorer/mainwindow.cpp +++ b/Applications/DataExplorer/mainwindow.cpp @@ -61,7 +61,7 @@ // FileIO includes #include "GMSInterface.h" -#include "MeshLib/IO/FEFLOW/FEFLOWMeshInterface.h" +#include "Applications/FileIO/FEFLOW/FEFLOWMeshInterface.h" #include "MeshLib/IO/Legacy/MeshIO.h" #include "MeshLib/IO/readMeshFromFile.h" #include "MeshLib/IO/GmshReader.h" @@ -69,7 +69,7 @@ #include "PetrelInterface.h" #include "XmlIO/Qt/XmlGspInterface.h" #include "GeoLib/IO/GMSHInterface.h" -#include "GeoLib/IO/FEFLOW/FEFLOWGeoInterface.h" +#include "Applications/FileIO/FEFLOW/FEFLOWGeoInterface.h" #include "GeoLib/IO/XmlIO/Qt/XmlGmlInterface.h" #include "GeoLib/IO/XmlIO/Qt/XmlStnInterface.h" diff --git a/Applications/FileIO/CMakeLists.txt b/Applications/FileIO/CMakeLists.txt index d4ae93cbf6d8a673c1a18604e1c1aec516471058..2d39952053a4f29ba65ba5045c9ef77c419fdb67 100644 --- a/Applications/FileIO/CMakeLists.txt +++ b/Applications/FileIO/CMakeLists.txt @@ -14,6 +14,11 @@ endif() GET_SOURCE_FILES(SOURCES_RAPID_XML XmlIO/Rapid) set(SOURCES ${SOURCES} ${SOURCES_RAPID_XML}) +if(QT4_FOUND) + GET_SOURCE_FILES(SOURCES_FEFLOW FEFLOW) + SET(SOURCES ${SOURCES} ${SOURCES_FEFLOW}) +endif() + include(${PROJECT_SOURCE_DIR}/scripts/cmake/OGSEnabledElements.cmake) # Create the library diff --git a/GeoLib/IO/FEFLOW/FEFLOWGeoInterface.cpp b/Applications/FileIO/FEFLOW/FEFLOWGeoInterface.cpp similarity index 100% rename from GeoLib/IO/FEFLOW/FEFLOWGeoInterface.cpp rename to Applications/FileIO/FEFLOW/FEFLOWGeoInterface.cpp diff --git a/GeoLib/IO/FEFLOW/FEFLOWGeoInterface.h b/Applications/FileIO/FEFLOW/FEFLOWGeoInterface.h similarity index 100% rename from GeoLib/IO/FEFLOW/FEFLOWGeoInterface.h rename to Applications/FileIO/FEFLOW/FEFLOWGeoInterface.h diff --git a/MeshLib/IO/FEFLOW/FEFLOWMeshInterface.cpp b/Applications/FileIO/FEFLOW/FEFLOWMeshInterface.cpp similarity index 99% rename from MeshLib/IO/FEFLOW/FEFLOWMeshInterface.cpp rename to Applications/FileIO/FEFLOW/FEFLOWMeshInterface.cpp index 94cefb444feb2c8e0fb7845f8b3430ed42ff8e9e..7f23b43792764432145506faf10bb25cd24a6cfb 100644 --- a/MeshLib/IO/FEFLOW/FEFLOWMeshInterface.cpp +++ b/Applications/FileIO/FEFLOW/FEFLOWMeshInterface.cpp @@ -16,7 +16,7 @@ #include "BaseLib/FileTools.h" #include "BaseLib/StringTools.h" -#include "GeoLib/IO/FEFLOW/FEFLOWGeoInterface.h" +#include "Applications/FileIO/FEFLOW/FEFLOWGeoInterface.h" #include "GeoLib/Point.h" #include "GeoLib/Polygon.h" diff --git a/MeshLib/IO/FEFLOW/FEFLOWMeshInterface.h b/Applications/FileIO/FEFLOW/FEFLOWMeshInterface.h similarity index 100% rename from MeshLib/IO/FEFLOW/FEFLOWMeshInterface.h rename to Applications/FileIO/FEFLOW/FEFLOWMeshInterface.h diff --git a/Applications/Utils/FileConverter/CMakeLists.txt b/Applications/Utils/FileConverter/CMakeLists.txt index 73c4e705b14fe0e9702ea4b3dddb9abd85a4be13..e03f9d1bf2bfb1994aa9a9ad9eb673ec1e92153b 100644 --- a/Applications/Utils/FileConverter/CMakeLists.txt +++ b/Applications/Utils/FileConverter/CMakeLists.txt @@ -8,7 +8,7 @@ endif () if (QT4_FOUND) add_executable(FEFLOW2OGS FEFLOW2OGS.cpp) set_target_properties(FEFLOW2OGS PROPERTIES FOLDER Utilities) - target_link_libraries(FEFLOW2OGS MeshLib) + target_link_libraries(FEFLOW2OGS ApplicationsFileIO) ADD_VTK_DEPENDENCY(FEFLOW2OGS) endif () diff --git a/Applications/Utils/FileConverter/FEFLOW2OGS.cpp b/Applications/Utils/FileConverter/FEFLOW2OGS.cpp index 1339f774e424d5a2879cbe5d8d9f137ef0afd487..98ca389902784fd1a2b9fe7fbf416ca47e535055 100644 --- a/Applications/Utils/FileConverter/FEFLOW2OGS.cpp +++ b/Applications/Utils/FileConverter/FEFLOW2OGS.cpp @@ -23,7 +23,7 @@ #endif // FileIO -#include "MeshLib/IO/FEFLOW/FEFLOWMeshInterface.h" +#include "Applications/FileIO/FEFLOW/FEFLOWMeshInterface.h" #include "MeshLib/IO/writeMeshToFile.h" #include "MeshLib/IO/Legacy/MeshIO.h" diff --git a/GeoLib/CMakeLists.txt b/GeoLib/CMakeLists.txt index f0bb369a1e716ccaab2bf64c473e4bad885525a7..6e563dafb967a04178adaf39a8db0f7e71f3672b 100644 --- a/GeoLib/CMakeLists.txt +++ b/GeoLib/CMakeLists.txt @@ -14,8 +14,6 @@ set(SOURCES ${SOURCES} ${SOURCES_IO_BASE_XML} ${SOURCES_IO_BOOST_XML} ${SOURCES_ if(QT4_FOUND) GET_SOURCE_FILES(SOURCES_IO_QT_XML IO/XmlIO/Qt) set(SOURCES ${SOURCES} ${SOURCES_IO_QT_XML}) - GET_SOURCE_FILES(SOURCES_IO_FEFLOW IO/FEFLOW) - SET(SOURCES ${SOURCES} ${SOURCES_IO_FEFLOW}) endif() GET_SOURCE_FILES(SOURCES_IO_GMSHIO IO/Gmsh) diff --git a/MeshLib/CMakeLists.txt b/MeshLib/CMakeLists.txt index 7ea38ca1e3f1019bf20acfa58c811192eca534b8..a6e3926b582b466bffa284c8226b69e11b5d2228 100644 --- a/MeshLib/CMakeLists.txt +++ b/MeshLib/CMakeLists.txt @@ -20,11 +20,6 @@ set(SOURCES ${SOURCES_MESHLIB} ${SOURCES_ELEMENTS} ${SOURCES_EDITING} ${SOURCES_GENERATORS} ${SOURCES_QUALITY} ${SOURCES_SEARCH} ${SOURCES_IO} ${SOURCES_IO_LEGACY} ${SOURCES_IO_VTKIO} ${SOURCES_VTK}) -if(QT4_FOUND) - GET_SOURCE_FILES(SOURCES_IO_FEFLOW IO/FEFLOW) - SET(SOURCES ${SOURCES} ${SOURCES_IO_FEFLOW}) -endif() - # It could be used for other MPI based DDC approach in future. if(OGS_USE_PETSC) GET_SOURCE_FILES(SOURCES_MPI_IO IO/MPI_IO)