> I guess Christian has in mind to use e.g. clump volume in some c++ algorithm (right?), else there is little interest in adding variables to bodies.
No, in my example I need clump volume to calculate porosity. This is done in python code. But I dont know what other users want to do with their extra values in c++ ... >Another option is to keep the data outside bodies in a separate table. Saving a table is no big deal, and it doesn't waste memory when the table is empty. This sounds good. A table, that stores id or pointer of the body and the extra value(s). This is also extendable, e.g. someone needs mor than one extra value per body. -- 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 _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp