← Back to team overview

yade-users team mailing list archive

Re: [Question #669845]: uodate len(O.bodies) after erasing particles

 

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

Jan Stránský posted a new comment:
Hi Azim,

In general, updating len(O.bodies) after erasing bodies / on request is
possible, but you would need to modify the C++ source. The change would
most likely break functionality at maaany other places of Yade, so there
would be large amount of work / testing to make it work.

More appropriate solution is to fix the parts of code, which were
written/tested without the option of erasing bodies in mind (like in
this case probably).

I can reproduce the problem with porosities. Probably it is the effect
of null pointers, although after a short glance at the code I don't see
the problem.. please report a bug

cheers
Jan

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