← Back to team overview

yade-dev team mailing list archive

Follow-up: [Question #673130]: Recorder Forces acting on a clump with ForceRecorder

 

Hi Jan, I'm moving this to yade-dev for a particular point.

On 08/30/2018 04:08 PM, Jan Stránský wrote:
It is just implementation choice, the force acting on clump itself is computed when needed from clump members [2,3], but is not stored..
[1] https://github.com/yade/trunk/blob/master/pkg/dem/ForceTorqueRecorder.cpp#L6
[2] https://github.com/yade/trunk/blob/master/pkg/dem/NewtonIntegrator.cpp#L134
[3] https://github.com/yade/trunk/blob/master/pkg/dem/Shop_01.cpp#L134

Actually it is stored I think. It should happen just after your [2] (see #1).
The stored value is even used for motion (line 145).
It was me forcing the storage of this force a few years back IIRC, if it is broken please let me know (I don't think I'll go back to Question #673130 otherwise).
Cheers
Bruno

#1 https://github.com/yade/trunk/blob/master/pkg/dem/NewtonIntegrator.cpp#L141