yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #14850
[Question #631686]: how to write a part of code of my script in c++ to improve the calculation efficiency?
New question #631686 on Yade:
https://answers.launchpad.net/yade/+question/631686
Hello,
A part of my code is to search for specific spheres of my model to apply force to. However, the calculation efficiency of python is not that high compared with c++, and I want to write this part of searching in C++. I really don't know how to get the position of the spheres and how to apply force in C++, and how can I use this part of code only as a funtion in the rest of my python code.
Thank you very much.
--
You received this question notification because your team yade-users is
an answer contact for Yade.