diff --git a/Applications/FileIO/GMSInterface.cpp b/Applications/FileIO/GMSInterface.cpp index 5f18925d7dc22d3d937d62805f2990c84d6bbb00..2f146742c159afce8ee01e948889481f7345e2a3 100644 --- a/Applications/FileIO/GMSInterface.cpp +++ b/Applications/FileIO/GMSInterface.cpp @@ -180,28 +180,6 @@ void GMSInterface::writeBoreholesToGMS( out.close(); } -int GMSInterface::writeSoilIDTable(const std::vector<std::string>& soilID, - const std::string& filename) -{ - std::ofstream out(filename.c_str(), std::ios::out); - - // write header - out << "ID" - << "\t" << std::fixed << "Soil name" - << "\n"; - - // write table - std::size_t nIDs = soilID.size(); - for (std::size_t i = 0; i < nIDs; i++) - { - out << i << "\t" << std::fixed << soilID[i] << "\t" - << "\n"; - } - out.close(); - - return 1; -} - MeshLib::Mesh* GMSInterface::readGMS3DMMesh(const std::string& filename) { std::string line; diff --git a/Applications/FileIO/GMSInterface.h b/Applications/FileIO/GMSInterface.h index 9e0e8eafb4228989c90d4718fa4ddc202cf80ce3..94cb79e7e1f7e6ee74f14724d9b113ec7ce66161 100644 --- a/Applications/FileIO/GMSInterface.h +++ b/Applications/FileIO/GMSInterface.h @@ -59,11 +59,6 @@ public: static int readBoreholesFromGMS(std::vector<GeoLib::Point*>* boreholes, const std::string& filename); - /// Writes a file that assigns each soilID-index in the GMS export file a - /// name. - static int writeSoilIDTable(const std::vector<std::string>& soilID, - const std::string& filename); - /// Reads a GMS *.3dm file and converts it to an CFEMesh. static MeshLib::Mesh* readGMS3DMMesh(const std::string& filename); };