Windows compatible

This commit is contained in:
iasonmanolas 2021-06-30 12:58:43 +03:00
parent d0edd5a6a9
commit 1cd335c241
1 changed files with 2 additions and 2 deletions

View File

@ -514,13 +514,13 @@ struct SimulationResults
std::filesystem::path simulationJobOutputFolderPath std::filesystem::path simulationJobOutputFolderPath
= std::filesystem::path(outputFolderPath).append("SimulationJob"); = std::filesystem::path(outputFolderPath).append("SimulationJob");
std::filesystem::create_directories(simulationJobOutputFolderPath); std::filesystem::create_directories(simulationJobOutputFolderPath);
job->save(simulationJobOutputFolderPath); job->save(simulationJobOutputFolderPath.string());
const std::string filename(getLabel() + "_displacements.eigenBin"); const std::string filename(getLabel() + "_displacements.eigenBin");
Eigen::MatrixXd m = Utilities::toEigenMatrix(displacements); Eigen::MatrixXd m = Utilities::toEigenMatrix(displacements);
Eigen::write_binary(std::filesystem::path(outputFolderPath).append(filename).string(), m); 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 // The comparison of the results happens comparing the 6-dof nodal