yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #04138
[Bug 563894] Re: New container causes different results between r2091 and r2092
*** This bug is a duplicate of bug 569169 ***
https://bugs.launchpad.net/bugs/569169
OK, it seems it was due of bug #569169 after all. Please check by
redefining
def cohesiveContacts():
coh=[(i.id1,i.id2) for i in O.interactions if i.phys.isCohesive]
print len(coh),len(set(coh))
in your script (set automatically merges multiple occurences of the same
(i.id1,i.id2) tuple. If you get 2 different numbers, it is a bug. I do
get difference for r2092 and after.
It is correct (both number the same) for r2080 and later, and also for
r2091. Absolute values are different between the version due to
regularHexa changes.
Please set to Fix Commited if it works for you now.
** This bug has been marked a duplicate of bug 569169
Interaction in InteractionContainer saved twice?
** Changed in: yade
Importance: Undecided => Critical
** Changed in: yade
Status: New => In Progress
--
New container causes different results between r2091 and r2092
https://bugs.launchpad.net/bugs/563894
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
Status in Yet Another Dynamic Engine: In Progress
Bug description:
As discussed http://www.mail-archive.com/yade-dev@xxxxxxxxxxxxxxxxxxx/msg03202.html
r2091 and r2092 gives different results.
Attached script shows that.
r2091 output:
17716
17716
17716
r2092 output:
18519
18519
18539
This is the number of cohesive contacts inside the specimen.
Thank you
References