← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 2221: subscribedBodies parameter is added to VTKRecorder

 

Ok, I will try to implement it as well.
Probably, you are right, I can use it not only for postprocessing purpose.

Thank you.
______________________________

Anton Gladkyy


2010/5/14 Václav Šmilauer <eudoxos@xxxxxxxx>

> > If we use a bitmask, FOREACH will pass through all bodies, checking,
> > whether it will output to vtk-file or not.
> > If I have 50000 bodies and 4 VTKRecorders, I will have 50000*4 = 200
> > 000 iterations instead of 50 000.
> I doubt you would even notice those empty loops. But keep it this way if
> you want. If you assign mask, you can use it for other purposes as
> well.
> > Also we have a subscribedBodies algorithm in some other engines and
> > this is a very clear.
> Same for masks.
> >  If we use mask instead, it will be a little bit
> > complicated to understand, how it is working (even for me, several
> > month later).
> It is a very elegant solution, though, since you use each bit
> separately. I would use mask myself in such kind of problem; it can be
> added as well, if needed, though, no problem.
>
> > So, I prefer to stay this algorithm, even it is a little ugly.
> As said, no problem.
>
> Cheers, v.
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References