← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 2621: 1. Make middle-click paste path to variable in the ui

 


I am so stupid that I introduced them without reason then... else why
was it removed without notice? I'm wondering.

I explained why they are usefull already. Trying again :
Say we have a rigid body represented with 10e6 clumped (or non-dynamic)
spheres or facets (typically
https://yade-dem.org/wiki/Screenshots_and_videos#ball_mill). Do we want
to iterate on all clump members to compute acceleration, block
individual dofs, and sum accelarations at the clump level, when we know
it is just wasted time? No of course we don't, it is so many useless
tests and operations.
Ok, fair enough, thanks for explanation.
In my local version, after fixing the FIXME (still waiting discussion on
this one btw), this loop is skipped, simply :
I see. For me isDynamic is exactly equivalent to !State::DOF_ALL, except
Do you agree if I replace isDynamic by !DOF_ALL and commit again (with
fixed FIXME)?
Let me do it, please. I know the clumps code well and I think I understand what was the purpose of isDynamic checks now; the whole clump code is unnecessarily complicated, I will clean it up.

v



Follow ups

References