yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #08858
[Bug 1031703] Re: "extra" value for bodies
For further explanation (my first ideas):
We could first make an easy-to-implement feature, later it could be extended.
Lets say we just want to let extra variable be int or float. Also for the start, there is
only one extra value allowed for one body (as said, later we can extend if needed)...
The user has to type in python something like:
var1 = 123
var2 = 1.23
O.bodies[id1].extra(var1,'int') or O.bodies[id2].extra(var2,'float')
--
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1031703
Title:
"extra" value for bodies
Status in Yet Another Dynamic Engine:
New
Bug description:
Hi,
It would be very helpful, if there would be an "extra" value for every
body. This value can be set by the user. It must be a very fexible
value (bool, int, float, vector, array, etc.).
Example:
I create a clump, which consists of two hardly overlapping spheres and sometimes I need the volume of the clump (which is not the sum of the volumes of the two spheres in this case). So this could be easily managed by this "extra" value. Where i could set either the volume of the clump as extra value to the clump or i could set the volume fractions as extra values to the spheres.
To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1031703/+subscriptions
References