← Back to team overview

yade-dev team mailing list archive

Re: ContactLaw1

 

> It sounds good to me, except for two ascpects :
> - it will require different geometry classes for different
> constitutive laws, because if you don't have moment at contacts, you
> don't want a geometry class computing relative rotations (waste of time).
SpheresContactGeometry::hasShear determines whether shear parameters are
computed; otherwise, you have only the penalty of one if. i.e. almost 0.
We _could_make derived classes etc, but I think it would be too heavy
for this.
> - less fundamentally : due to this change, old xml's can't be loaded
> in the new version (said Jerome Duriez).
Yes, like always. I suggested to Jerome to use python as the portable
way of generating scenes ;-)

Vaclav



References