yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #09788
get force on clumps
Hi all,
Yesterday I found myself unable to simply get the total force on a clump
in a python script. I committed something which keeps the default
behaviour unchanged. That is:
O.forces.f(clumpId) #returns a wrong value
O.forces.f(clumpId,sync=True) #returns a correct value
I see a few ways to make it transparent for the user but they are all at
the price of performance. I'm open to suggestions.
Also: am I ignorant of another way to get the correct force on clumps?
Cheers.
Bruno
--
_______________
Bruno Chareyre
Associate Professor
ENSE³ - Grenoble INP
Lab. 3SR
BP 53
38041 Grenoble cedex 9
Tél : +33 4 56 52 86 21
Fax : +33 4 76 82 70 43
________________