Windows compatible
This commit is contained in:
parent
d0edd5a6a9
commit
1cd335c241
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue