← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 1941: Optional porosity in makeCloud, giving a value discards rMean (avoid guessing rMean when you know...

 

> You could change
> 
> .def("makeCloud",&SpherePack::makeCloud,python::args("minCorner","maxCorner","rMean","rRelFuzz","num","periodic"),"Create random packing encosed in box given by minCorner and maxCorner, containing num spheres. Returns number of created spheres, which can be < num if the packing is too tight.")
> 
> to
> 
> .def("makeCloud",&SpherePack::makeCloud,(python::arg("minCorner"),python::arg("maxCorner"),python::arg("rMean"),python::arg("rRelFuzz"),python::arg("num"),python::arg("periodic")=false,python::arg("porosity")=-1),"Documentation here")
Uh, it was just the same difficult to fix that myself, right? r1943.





Follow ups

References