[Yade-dev] [Bug 1759633] [NEW] The Code is crashed when there are two balls with same position and radius

2018-03-28 Thread Meng Qing Xiang
Public bug reported: I just find that if there are two balls with the same position and radius and the program is crashed without any information. ** Affects: yade Importance: Undecided Status: New -- You received this bug notification because you are a member of Yade developers,

[Yade-dev] [Bug 1759633] Re: The Code is crashed when there are two balls with same position and radius

2018-04-08 Thread Meng Qing Xiang
Hello, Sorry to reply later. I use a simple example given by Jan. This is OK: O.periodic = True O.cell.setBox(6,10,14) b1 = sphere((0,0,0),1,color=(1,0,0)) b2 = sphere((2,4,4),1,color=(0,1,0)) b3 = sphere((4,8,8),1,color=(0,1,1)) O.bodies.append((b1,b2,b3)) O.step() b3.state.vel = 5e-5*Vector3(-1.1