yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #08083
Re: [Branch ~yade-dev/yade/trunk] Rev 2962: - make body iterators jump empty slots, as suggested and discussed here: http://www.mail-archive....
Thanks for the script Anton.
I found the problem: you were erasing body 0 (begin()) and I was only
checking validity inside the ++ operator (so that my tests by erasing
random bodies where ok).
I fixed that.
I found that the macro YADE_PARALLEL_FOREACH_BODY_BEGIN() has to be
fixed too, since it doesn't use iterators but indexes.
Bruno
References
-
[Branch ~yade-dev/yade/trunk] Rev 2962: - make body iterators jump empty slots, as suggested and discussed here: http://www.mail-archive....
From: noreply, 2011-11-23
-
Re: [Branch ~yade-dev/yade/trunk] Rev 2962: - make body iterators jump empty slots, as suggested and discussed here: http://www.mail-archive....
From: Anton Gladky, 2011-11-23
-
Re: [Branch ~yade-dev/yade/trunk] Rev 2962: - make body iterators jump empty slots, as suggested and discussed here: http://www.mail-archive....
From: Anton Gladky, 2011-11-23
-
Re: [Branch ~yade-dev/yade/trunk] Rev 2962: - make body iterators jump empty slots, as suggested and discussed here: http://www.mail-archive....
From: Janek Kozicki, 2011-11-23
-
Re: [Branch ~yade-dev/yade/trunk] Rev 2962: - make body iterators jump empty slots, as suggested and discussed here: http://www.mail-archive....
From: Anton Gladky, 2011-11-23
-
Re: [Branch ~yade-dev/yade/trunk] Rev 2962: - make body iterators jump empty slots, as suggested and discussed here: http://www.mail-archive....
From: Bruno Chareyre, 2011-11-23