Question #290947 on Yade changed:
https://answers.launchpad.net/yade/+question/290947

Jan Stránský proposed the following answer:
@Francois: it would be nice also for other state variables.

Anyway, the most significant leaks takes place
in O.bodies[0].shape.setVertices(b).

Look at mentioned bug, #8 [1], it was solved by implementing setVertices
for facet. There you pass 3 instances of Vector3, doing no automatic
conversion from tuple/list to std::vector. I will try the same fin this
case.

Jan

[1] https://bugs.launchpad.net/yade/+bug/1041084/comments/8


2016-04-15 8:13 GMT+02:00 Anton Gladky <question290...@answers.launchpad.net
>:

> Question #290947 on Yade changed:
> https://answers.launchpad.net/yade/+question/290947
>
> Anton Gladky proposed the following answer:
> Indeed, those two bugs should be merged.
>
> Anton
>
>
> 2016-04-15 8:03 GMT+02:00 Kneib François <
> question290...@answers.launchpad.net>:
> > Question #290947 on Yade changed:
> > https://answers.launchpad.net/yade/+question/290947
> >
> > Kneib François proposed the following answer:
> > Hi Mike,
> > This is a known bug: https://bugs.launchpad.net/yade/+bug/1041084
> > I wrote recently a couple of C++ functions as a temporary workaround for
> pos, vel, ori, angVel and color :
> https://github.com/yade/trunk/commit/71f93009ee9a1dd348c08c269256020eacb2e46a
> >
> > If you compile Yade from sources, I can write similar functions for mass
> > and inertia if you wish.
> >
> > François
> >
> > --
> > You received this question notification because your team yade-users is
> > an answer contact for Yade.
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~yade-users
> > Post to     : yade-users@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~yade-users
> > More help   : https://help.launchpad.net/ListHelp
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to