yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #14096
Follow-up: [Question #673130]: Recorder Forces acting on a clump with ForceRecorder
-
To:
yade-dev <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
From:
Bruno Chareyre <bruno.chareyre@xxxxxxxxxxxxxxx>
-
Date:
Fri, 31 Aug 2018 12:39:30 +0200
-
In-reply-to:
<153563809459.25923.9635724806024816414.launchpad@loganberry.canonical.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
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