← Back to team overview

yade-dev team mailing list archive

Re: [Bug 1229783] Re: Loading clumps takes too much time

 

I maybe wrong, sorry, never coded on "clumps".
But, it seems, the bottleneck is the loop in lines 159-177 [1].

[1] https://github.com/yade/trunk/blob/master/core/Clump.cpp#L159

Why do we need to discretize the cell? Is it possible just to go through all
spheres and to summ m*r^2 of each sphere?

Anton


2013/10/2 Christian Jakob <1229783@xxxxxxxxxxxxxxxxxx>:
> Klaus, would you agree with my suggestions? Then you could choose
> accuracy/speed of inertia approximation by yourself ;)

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1229783

Title:
  Loading clumps takes too much time

Status in Yet Another Dynamic Engine:
  In Progress

Bug description:
  The examples/packs/packs.py hangs in line 46 [1] because
  of appendClumped command.

  Changing it to "append" fixes the problem. So, it seems, 
  appendClump has infinite loop  somewhere.

  [1]
  https://github.com/yade/trunk/blob/master/examples/packs/packs.py#L46

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1229783/+subscriptions


References