← Back to team overview

yade-users team mailing list archive

Re: [Question #676326]: Can I control the seed in randomdensepack?

 

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

Robert Caulk posted a new comment:
In case you need non-periodic seed functionality, I've added the seed
functionality to randomDensePack and TriaxialTest functions. Simply pass
a seed argument:

sp=pack.randomDensePack(pack.inAlignedBox((-x,-y,-z),(x,y,z)),radius=sphereRadius,rRelFuzz=rRelFuzz,spheresInCell=1000,returnSpherePack=True,seed=1)

or

TriaxialTest(seed=1)

Cheers,

Robert

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