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