← Back to team overview

yade-dev team mailing list archive

Re: [deprecated list] r1757 - in trunk: extra pkg/common/DataClass/InteractingGeometry pkg/dem pkg/dem/DataClass/InteractionGeometry pkg/dem/Engine/EngineUnit pkg/dem/Engine/StandAloneEngine scripts/test

 

Václav Šmilauer said:     (by the date of Wed, 22 Apr 2009 23:18:31 +0200)

> 
> >> 3. Add d0fixup to SpheresContactGeometry to get correct normal strain in sphere-facet contact with fictive sphere
> >> (zero for sphere-sphere)
> >>      
> There's already been some discussion about that, it is just temporary. I 
> don't see point in inheriting from SCG since the constitutive law would 
> still have to have special cases for different combinations of 
> geometries; what would be the advantage over plainly separate classes? 
> Once I will have finised and tested Dem3DofGeom, I will delete this and 
> will be delighted to never have to touch SCG again, believe me.

that's the point. Something is wrong about the architecture of code,
because it encourages bad behavior, like yours. What's wrong, how to
fix it?

-- 
Janek Kozicki                                                         |



Follow ups

References