Skip to content

We can't get total force on clumps

O.forces.f(clumpId) will always return a null vector with parallel build. Probably simply because there is no forces.sync() after the summary force is computed. Calling forces.sync() all the time for the sole purpose of getting "read rights" on clump force is overkill. We need a workaround.

Original bug report by Bruno Chareyre on 2016-01-13 : https://bugs.launchpad.net/yade/+bug/1533625

Edited by Janek Kozicki