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

    Status: Solved => Open

Zhicheng Gao is still having a problem:
Hello,
I have a new problem, The code is shown below:
.periodic=True
O.cell.hSize=Matrix3(2,0,0, 0,2,0, 0,0,2)
s0=utils.sphere((0.3,0.3,0.3),radius=0.2)
s1=utils.sphere((1,0.3,0.3),radius=0.21)
s2=utils.sphere((0.3,1,0.3),radius=0.28)
s3=utils.sphere((1,1,0.3),radius=0.21)
s4=utils.sphere((0.3,0.3,1),radius=0.21)
s5=utils.sphere((1,0.3,1),radius=0.31)
s6=utils.sphere((0.3,1,1),radius=0.18)
s7=utils.sphere((1,1,1),radius=0.31)
s8=utils.sphere((0.5,0.5,0.5),radius=0.3)

O.bodies.append(s0)
O.bodies.append(s1)
O.bodies.append(s2)
O.bodies.append(s3)
O.bodies.append(s4)
O.bodies.append(s5)
O.bodies.append(s6)
O.bodies.append(s7)
O.bodies.append(s8)
flow=PeriodicFlowEngine()
flow.emulateAction()

csdList=flow.getConstrictionsFull()
a=csdList[1]
b=flow.getVertices(a[0])
c=flow.getVertices(a[1])

I found that the body ids in b and c are the same, but the order is different, 
they are [7, 2, 5, 2] and [5, 2, 7, 2].
Why is this happening?

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to