Xiangyu-Hu / SPHinXsys

SPHinXsys provides C++ APIs for engineering simulation and optimization. It aims at complex systems driven by fluid, structure, multi-body dynamics and beyond. The multi-physics library is based on a unique and unified computational framework by which strong coupling has been achieved for all involved physics.

Home Page:https://www.sphinxsys.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

out put path bug

DrChiZhang opened this issue · comments

Describe the bug
there is a bug of BodyStatesRecordingToVtp, the output path is not correctly set.

In line 17 of io_vtk.cpp, the output path is set as:
std::string filefullpath = io_environment_.output_folder_ + body->getName() + "" + sequence + ".vtp",
while the correct path is
std::string filefullpath = io_environment
.output_folder_ + "/" + body->getName() + "_" + sequence + ".vtp";

Sorry. I will change it now.

@ChiZhangatTUM Actually, you can correct directly and give a fast pull request for this type of issues.

@ChiZhangatTUM Actually, you can correct directly and give a fast pull request for this type of issues.
Understood.

Close.