yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02282
Re: Material and State classes
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Sat, 21 Nov 2009 09:04:46 +0100
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
-
In-reply-to:
<1258759171.4533.14.camel@flux>
Václav Šmilauer said: (by the date of Sat, 21 Nov 2009 00:19:31 +0100)
> That is right and I apologize for not being very precise on that. The
> distinction should run (what I think at least) between what is per-body
> and what is common.
- per-body: State
- common: Material
anyone has better idea? I don't.
> If material is to be shared amongst bodies (which is the plan), then
> perhaps _density_ could be part of it, but not mass, which depends on
> body's geometry and is part of "State" in that sense
that makes sense for me.
> (for lack of better words, I called it State).
:)
> If I understand correctly, all of use seem to agree that having
> positional things and rotational things in the same bag is the way to
> go, right?:
>
> * Positional: 3 vars (position, velocity, accel), 1 constant (mass)
> * Orientational: 3 vars (orientation, ang. vel, ang. accel), 1 constant
> (intertia vector).
sounds good.
I wonder what happens when someone will want to work with stuff that
changes weight over time :) 2nd law of motion is in fact F=dp/dt, where p=m*v
> BTW should we keep the somewhat obscure Se3r class or separate that in
> Vector3r + Quaternionr?
I prefer to separate it.
Every time someone comes, he is asking: what is se3 ?
--
Janek Kozicki |
References