Question #650554 on Yade changed:
https://answers.launchpad.net/yade/+question/650554

Jan Stránský posted a new comment:
randomDensePack has two "modes"

1) (without spheresInCell)
generates randomly all needed spheres compress them around predicate and crop 
them.
For small number of particles it works ok, but for increasing number it take 
more and more time and becomes practically impossible to use. I would not like 
to use it for 500k particles :-)

2) spheresInCell = someValue
uses just relatively few particles (someValue).
Compress this limited number using periodic contact detection resulting in a 
periodic cube
the resulting compressed packing is periodic, if you copy it by one period to 
any (axis) direction, the pieces fit together
copy such periodic cube wherever necessary to fill the predicate, and crop to 
final shape
So it uses (almost) the same time for any predicate size

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to