← Back to team overview

yade-dev team mailing list archive

Re: updateShear in ScGeom

 

You can rotate the total shear displacement using the same
> rotateAndGetShear. You just feed it with disp. instead of force (I
> mentionned that in code documentation).
>

Ok, I see now it is documented. Thanks! chiara


> I'd prefer not. Better derive a class inheriting for ScGeom and add what
> you need in this class. All code working with ScGeom will work exactly the
> same (since B "inherits from" A means, B "is a" A).
> ScGeom should contain only what is needed for elastic-frictional behaviour,
> i.e. radii, normal, prevNormal, and penetrationDepth. Nothing else.
> Adding orientation data would probably multiply the size of interactions in
> memory by a factor 3.
> In CohFric law, this extra data is in fact in interaction physics, but it
> would be more consistent to put it in some Ig class. This is the concept
> behind Dem3Dof vs Dem6Dof.
>
> I see, thanks for suggestions.

>
>
> _______________________________________________
> 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
>

References