yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #16864
Re: [Question #665054]: Parallel run when i call a yade script from another file
Question #665054 on Yade changed:
https://answers.launchpad.net/yade/+question/665054
Deepak posted a new comment:
Hello John,
One way to speed up your simulation would be to identify the bottlenecks in your script. This could come from the loops inside your python script.
For example : looping through all the bodies in every time step and doing some calculations. Such loops inside the python script can lower the performance.
If you have a python function which does something similar every timestep, it would be better to write them in C++ and call the C++ function in your script.
--
You received this question notification because your team yade-users is
an answer contact for Yade.