yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #06811
Re: NozzleFactory
Hi, Sergei!
I think it is a good idea!
But now we have makeCloud, particleSD, particleSD2, regularHexa, regularOrtho...
What about putting all of this stuff into the SphereFactory or similar
class, which will be responsible only for packing algorithms?
I think I can also help with it as I am interested in it.
Anton
On Wed, Jan 26, 2011 at 9:42 AM, Sergei D. <dorofeenko@xxxxxxxxx> wrote:
> Hello.
>
> I want to rename NozzleFactory to SpheresFactory and make it virtual by
> adding an empty function pickRandomPosition().
> Derived classes will override this function in accordance with the required
> geometry of the spheres generation region.
> I want to add two derived classes: CircularFactory (the region is a disk or
> a cylinder) and QuadroFactory (the region is a rectangle or a rectangular
> parallelepiped). Also I want rename current SpheresFactory class to
> FacetedFactory (or FreeFactory?) and make it derived from new SpheresFactory
> (although its algorithm needs some work). Is anyone against or any comments?
>
> --
> Best regards,
>
> Sergei Dorofeenko,
> Cand. Phys.-Mat. Sci.
>
> Institute of Problems of Chemical Physics,
> Chernogolovka, Moscow region, Russia.
>
> e-mail: dorofeenko@xxxxxxxxx
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References