From 1cd335c241c0139fd3b9770e64ffe1df05cf967d Mon Sep 17 00:00:00 2001 From: iasonmanolas Date: Wed, 30 Jun 2021 12:58:43 +0300 Subject: [PATCH] Windows compatible --- simulation_structs.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simulation_structs.hpp b/simulation_structs.hpp index e1d3175..cf515cd 100755 --- a/simulation_structs.hpp +++ b/simulation_structs.hpp @@ -514,13 +514,13 @@ struct SimulationResults std::filesystem::path simulationJobOutputFolderPath = std::filesystem::path(outputFolderPath).append("SimulationJob"); std::filesystem::create_directories(simulationJobOutputFolderPath); - job->save(simulationJobOutputFolderPath); + job->save(simulationJobOutputFolderPath.string()); const std::string filename(getLabel() + "_displacements.eigenBin"); Eigen::MatrixXd m = Utilities::toEigenMatrix(displacements); Eigen::write_binary(std::filesystem::path(outputFolderPath).append(filename).string(), m); - saveDeformedModel(outputFolderPath); + saveDeformedModel(outputFolderPath.string()); } // The comparison of the results happens comparing the 6-dof nodal