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

Repating issue #560

Open Xiangyu-Hu opened 1 month ago

Xiangyu-Hu commented 1 month ago

https://github.com/Xiangyu-Hu/SPHinXsys/blob/e30134b0a4660cff93b23ff0d5657258655ee1d8/src/shared/particle_dynamics/solid_dynamics/thin_structure_dynamics.cpp#L135-L182 It seems that "current_transformation_matrix * transformationmatrix[index_i].transpose()" repeated many times and wast time.

Xiangyu-Hu commented 1 month ago

@DongWuTUM Please have a look.