← Back to team overview

yade-users team mailing list archive

Re: [Question #452277]: FlowEngine producing segmentation fault after removing particles

 

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

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi Antoine,
Removing particles is not allowed here. Updating the mesh is not enough because "updating" is not "restarting", there can be data transfer from the old mesh to the new one, namely.
It should be possible, however, to instantiate a brand new FlowEngine after removing. This one would not know that some particles have been removed and should thus run without problems.
A crash (using uninitialized pointers especially) is something unpredictable, it doesn't have to occur 100% of the time.
Cheers
Bruno

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