yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03587
Re: [Branch ~yade-dev/yade/trunk] Rev 2069: NEW TRY to add the updated version of cohesiveFrictionalContactLaw called cohesiveFrictionalPM (s...
Yes, you are totally right. In fact, I was expecting some criticisms because
the code does exactly what cohesiveFrictionalContactLaw does. The idea was
to have an updated version of the code with all the components in the same
sources files (say, cohesiverictionalRelationships and all this things),
because, as I read in a lot of messages sent to the mailing list,
cohesiveFrictionalContactLaw is a "real mess" (this term is not mine ;) ). I
think I have introduced some of the comments needed to understand its
usefulness as you suggested with YADE_CLASS_BASE_DOC, with almost all the
parameters defined. You can also notice that I gave a reference to a paper
for the definition of the frictional part of the law inside the "Global
Overview" part. In this (my) sense, I thought this new version of
cohesiveFrictionalContactLaw was more clearer, but if you prefer to keep the
older version, just remove mine, I just did the commit to help...
No worries
Cheers
Luc
2010/3/10 Václav Šmilauer <eudoxos@xxxxxxxx>
> Am I right seeing that we have now
>
> * CohesiveFrictionalMat, CohesiveFrictionalRelationships,
> CohesiveFrictionalContactInteraction, CohesiveFrictionalContactLaw
> (those will be renamed, I hope)
>
> * CFpmMat, Ip2_CFpmMat_CFpmMat_CFpmPhys, CFpmPhys,
> Law2_ScGeom_CFpmPhys_CohesiveFrictionalPM
>
> ?
>
> What is the difference? Can we not make up our minds to settle on some
> better names? I really don't like lack of documentation (especially for
> new code). Please put all documentation that is currently in /* comments
> */ inside the YADE_CLASS_BASE_DOC_* documentation, since that is what
> then appears on the web and what users (not programmers) will read. (I
> know that is not yet the case with Cpm, I am working on it right now. I
> think the "high-level overview" will be best put in docs for the
> material class, since that one comes first in simulation, or to the law
> functor docs...)
>
> Please make sure you explain well features of the law, references to
> papers etc.
>
> Regarding the difference to CohesiveFrictional* things, I would suggest
> that you use some different name that will be express more succintly
> what kind of material is the model good for (what is it?). Most
> materials are cohesive frictional (including concrete, snow, etc).
>
> Don't get me wrong, Luc, we all (me included) appreciate that you commit
> your code, but we need to maintain some consistency and manageable
> development. Otherwise every single person will have his/her own classes
> that no other people will use, since they will not be documented. We
> already had such situation not so long time ago and all the code ended
> up being removed (from repository, or in attic, which is just, well,
> attic where you put garbage); keep that in mind.
>
> Cheers, Vaclav
>
>
> _______________________________________________
> 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
>
Follow ups
References