Hi Mike, it was indeed a bug, thanks for reporting. It works for special cases and I only tested those special ones.. It should be fixed in the latest git version
The memory issues should be fixed by using Facet.setVertices method cheers Jan 2015-06-05 18:41 GMT+02:00 MikeZhao <[email protected]>: > Question #267761 on Yade changed: > https://answers.launchpad.net/yade/+question/267761 > > Status: Answered => Open > > MikeZhao is still having a problem: > Eh......I am a freshman to Yade, so I am not quite clear. I can describe > what I have encountered: > > I have tried to use some new positions of vertices to update locations > of facet, but after updating by using function updateElements, there > will be not forces on the facets. And I tried to make some change: If I > set the facet.state.pos to the inscribed Circle Center of the global > coordinates of the vertices of facet and set facet.shape.vertice to the > local position(global - inscribed Circle Center), there will be forces > on the facet. > > But making this change will cause some problem about the memory: Usage > of memory will keep growing if I try to use function updateElements > repeatedly by using 'for i in range(1000)'... > > Hope to get some solution, > > thanks. > > -- > You received this question notification because you are a member of > yade-users, which is an answer contact for Yade. > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-users > Post to : [email protected] > Unsubscribe : https://launchpad.net/~yade-users > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

