FOREACH is not hiding any OPENMP?

B.


Václav Šmilauer a écrit :
Thank you, I'll look at this template.
I realize using the FOREACH macro by default everytime we have a loop is perhaps not a good idea. What about this loop in GSTimeStepper, with stiffnesses a class member?

FOREACH(const shared_ptr<Interaction>& contact, *rb->interactions){
[...]
stiffnesses [contact->getId1()]+=diag_stiffness;
stiffnesses [contact->getId2()]+=diag_stiffness;

What about it...? GSTS is not run in parallel normally. Did I miss the
point?



_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to