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.
https://www.sphinxsys.org/
Apache License 2.0
259 stars 199 forks source link

Switch between double and float #277

Closed Xiangyu-Hu closed 10 months ago

Xiangyu-Hu commented 1 year ago

The code should have the option to run with double or float for float-point operation.

Xiangyu-Hu commented 1 year ago

@ChiZhangatTUM we should work on the issue with the assigned branch.

Xiangyu-Hu commented 1 year ago

@ChiZhangatTUM our discussion on this issue will be based on the new branch.

ZhenxiZhao commented 1 year ago

a

DrChiZhang commented 11 months ago

This test is done?

Xiangyu-Hu commented 11 months ago

Nor yet. There still some issues with simbody.

DrChiZhang commented 11 months ago

Nor yet. There still some issues with simbody.

OK, I can have a look in the following days.

Xiangyu-Hu commented 11 months ago

@ChiZhangatTUM please have a look the assigned branch and corresponding pull request.

Xiangyu-Hu commented 11 months ago

@ChiZhangatTUM I think that we need to add a CI to test the single precision version of the code. For the first version, we need only make sure the compiling, say in Linux, is success.

Xiangyu-Hu commented 10 months ago

CI is done.