← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 2962: - make body iterators jump empty slots, as suggested and discussed here: http://www.mail-archive....

 

Hi, Bruno,

I am not quite agree with this commit. It looks like a hack, sorry.
Also we have FOREACH statement in a lot of places iterating . I am not
sure your fix will work correctly with them.

Anton




On Wed, Nov 23, 2011 at 1:11 PM,  <noreply@xxxxxxxxxxxxx> wrote:
> ------------------------------------------------------------
> revno: 2962
> committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
> branch nick: trunk
> timestamp: Wed 2011-11-23 13:05:49 +0100
> message:
>  - make body iterators jump empty slots, as suggested and discussed here: http://www.mail-archive.com/yade-dev@xxxxxxxxxxxxxxxxxxx/msg07406.html
>  - revert the (now useless) fix of r2961, similar tests can be removed in many places after the change in pointer logic is well tested.
>  - remove a script, as agreed by Christian (https://answers.launchpad.net/yade/+question/178830)
> removed:
>  examples/generate-psd-with-poro-example.py
> modified:
>  core/BodyContainer.hpp
>  pkg/dem/GlobalStiffnessTimeStepper.cpp


Follow ups

References