yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #10409
[Bug 1273172] [NEW] Clump size limited to 256 bodies.
Public bug reported:
Hi,
I noticed that there is a limited number of bodies you can add to
clump::members : 256. Whatever method you use, if you put 257 members
into a clump, the c++ map "members" will have the right number of keys
(257), but all corresponding values of Se3r will be set to "nan". If you
create a clump of 256 bodies, it will be ok first, but if you add one
more body all clump members will be corrupted (see the script attached).
I think the problem doesn't come from the "map" type of C++ or the
"dict" type of python, because they always have the right size, even if
the clump size exceeds 256. It looks like a variable doesn't have
sufficient memory allocated and I really wonder where ...
Does someone have an idea ?
Thanks
** Affects: yade
Importance: High
Status: New
** Tags: clump size
** Attachment added: "big_clump.py"
https://bugs.launchpad.net/bugs/1273172/+attachment/3958811/+files/big_clump.py
--
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1273172
Title:
Clump size limited to 256 bodies.
Status in Yet Another Dynamic Engine:
New
Bug description:
Hi,
I noticed that there is a limited number of bodies you can add to
clump::members : 256. Whatever method you use, if you put 257 members
into a clump, the c++ map "members" will have the right number of keys
(257), but all corresponding values of Se3r will be set to "nan". If
you create a clump of 256 bodies, it will be ok first, but if you add
one more body all clump members will be corrupted (see the script
attached).
I think the problem doesn't come from the "map" type of C++ or the
"dict" type of python, because they always have the right size, even
if the clump size exceeds 256. It looks like a variable doesn't have
sufficient memory allocated and I really wonder where ...
Does someone have an idea ?
Thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1273172/+subscriptions
Follow ups
References