← Back to team overview

yade-dev team mailing list archive

Re: periodic cell

 

> Hi Vaclav,
> 
> 1/ It seems AABBs are compared with unsheared coordinates in 
> PISCollider, is that true?
Yes, exactly. The collider wasn't changed at all.

> 2/ What is the meaning of the operations on halfsize, using cosMatrix, 
> in  Bo1_Sphere_Aabb.cpp? Is it to compensate the comparison in unsheared 
> coordinates?
Right. See attachment. For facet, it is done differently, for boxes it
is not implemented at all, and for Walls, it is quite meaningless.

> 3/ The proportional disp. must be applied on wrapped (but at the same 
> time "sheared") coordinates, do you agree with that?
Yes, exactly. To get sheared coordinates inside the cell, the point has
to unsheared, then wrapped, then sheared again. Cell::wrapShearedPt does
just that.

Cheers, Václav

Attachment: cell-shear-circle.pdf
Description: Adobe PDF document


Follow ups

References