Question #647852 on Yade changed: https://answers.launchpad.net/yade/+question/647852
Bruno Chareyre proposed the following answer: >so I re-phrase my question: Is there a possible way on how I could loop through the objects and addforces every timestep without compromising on the performance? Does it mean that the question is unrelated to OpenMP, and that the real problem is the inefficiency of python loops (not a surprise)? A cure could be to implement the loops in c++, i.e. give a python array to a yade module and let it loop (in c++) through the data and set values. Bruno -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp