spherePacking warning pack.randomDensePack
Hi, making use of pack.randomDensePack to fill up a predicate gives the following warning:
WARN /build/buildd/yade-daily-3+3463+44~precise1/pkg/dem/SpherePack.cpp:107 makeCloud: porosity must be >0, changing it for you. It will be ineffective if rMean>0.
WARN /build/buildd/yade-daily-3+3463+44~precise1/pkg/dem/TriaxialCompressionEngine.cpp:110 action: This engine is deprecated, please switch to TriaxialStressController if you expect long term support.
/usr/lib/yade-daily/py/yade/pack.py:288: FutureWarning: The default behavior will change; specify returnSpherePack=True for the new behavior, and False to get rid of this warning (your code will break in the future, however). The returned SpherePack object can be added to the simulation using SpherePack.toSimulation()
warnings.warn('The default behavior will change; specify returnSpherePack=True for the new behavior, and False to get rid of this warning (your code will break in the future, however). The returned SpherePack object can be added to the simulation using SpherePack.toSimulation()',category=FutureWarning)
Does this method need an update? "This engine is deprecated, please switch to TriaxialStressController if you expect long term support." the method works as supposed but the warning is annoying.
I attached a minimum working example this time ;)
Thanks, Eugen
Original bug report by Alexander Eulitz [Eugen] on 2013-05-02 : https://bugs.launchpad.net/yade/+bug/1175574
Edited by Janek Kozicki