← Back to team overview

yade-dev team mailing list archive

removing GeometricalModel?

 

Hi,

I would like to ask what is your opinion on the usefulness of
GeometricalModel, as opposed to InteractingGeometry.

It seems that the original ide (Janek?) was that InteractingGeometry
will be always derived automatically from GeometricalModel (as there is
InteractingGeometryMetaEngine that would take care of that) -- the user
could choose if spherical bodies will be represented in the simulation
as spheres or boxes or clusters of spheres etc. I am not aware of that
someone uses it that way. 

Apart from that, there is the possibility of rendering a body
differently than it appears in the physical sense, but that is not
convincing, because (i) rendering is not an "extra" thing with regards
to the computation (ii) one can easily make parametrized GLDraw functor
for InteractingGeometry, that will render any shape. The only case that
renders GeometricalModel substantially differently from
InteractingGeometry is MyTetrahedron* classes, that were never seriously
used.

Speaking of myself, duplicating data in GeometricalModel and
InteractingGeometry is just obnoxious. Can't we get rid of that? This is
not anything that would happen soon, anyways, take it just as a survey.

Regards, Vaclav