← Back to team overview

yade-dev team mailing list archive

Re: π=2 ?! (Ip2_FrictMat_FrictMat_FrictPhys)

 

> While I have you, what do you suggest to remove the dynamic casts in 
> Ip2_FM_FM_FM? I just see now that they have been introduced to handle 
> the different Ig's.
Both Dem3DofGeom and ScGeom inherit from GenericSpheresContact, which
has all that is needed. So if you can cast with
YADE_CAST<GenericSpheresContact*> and use what is now for dem3dof
(please keep the conditions of refR1<0 etc, that is for facets and walls
that have no radius associated.

v




References