← Back to team overview

yade-users team mailing list archive

Extremums of coordinates from the containers !!!


Hi Janek,

About discrete element part of YADE, could you give me which code I have to write to obtain the extremum of the positions (for example, it could be also the velocities...) for the whole pack of elements.
I thought about something like the following :

	MetaBody * ncb = dynamic_cast<MetaBody*>(body);

The problem is I don't know how to apply this to the coordinates, or the velocities.

Help me :o)   thanks in advance


Yade-users mailing list

Follow ups