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

Jan Stránský posted a new comment:
Hello,

1)
if spheresInCell > 0, then periodic compaction is created, containing 
spheresInCell number of particles.
This periodic packing is then copied wherever needed and then cropped to form 
the desired packing.
So, spheresInCell is independent of number of particles in the resulting 
packing.
It is especially advantageous for large initial packing (but is usable 
universally), e.g. 1M particles, where randomDensePack with 1M particles would 
take much time. This way, you can generate a periodic cube with e.g. 1k 
particles and quickly copy it in the space.
With this approach, the packing generation has "almost" O(1) complexity.

**Personally** I do not use randomDensePack without spheresInCell
parameter

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