Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-31 Thread Bruno Chareyre
Good to hear! Thank you for reporting, it made me spot the problem with clump. Bruno On 31/01/12 00:59, Klaus Thoeni wrote: Hi Bruno, thanks for having a look at my scripts! I know that the clump is disappearing sometimes on the display but the simulation itself seems to be ok so I never

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-31 Thread Anton Gladky
I have got also a good speedup! Just need to test it a little more, compare results etc. Also we need to think about jumping spheres problem. For example, we could create one more container in the scene, for example, where will be pointers on just created spheres... Anyway, I need to have a

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-31 Thread Bruno Chareyre
I have got also a good speedup! Very good. :) I was not sure it would improve in such granular flow case (my mind was more on quasi-static situations when working on that). Just need to test it a little more, compare results etc. Remember there is a wiki page to report results. I'm stilll

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-30 Thread Bruno Chareyre
Hi, Thanks for the script Anton. This is what I found: - A crash sometimes (not very often) occurs in GLrender(), it is apparently due to deleted body. i could reproduce it before and after bzr3001. I never crashed without opening the GL view. - There was a typo in the modified probe(), it is

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-30 Thread Bruno Chareyre
(Don't use Newton::gravity though, it breaks something in your script and I'm still investigating). It is not related to the new Newton::gravity, it only revealed another bug in eigen's quaternions. In your script, Klaus, the clump sometimes disappear, did you notice? It is because the

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-30 Thread Anton Gladky
Hi Bruno, - A crash sometimes (not very often) occurs in GLrender(), it is apparently due to deleted body. i could reproduce it before and after bzr3001. I never crashed without opening the GL view. I know about the problem with OpenGL-crashes. But for working simulations I do not use

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-30 Thread Bruno Chareyre
=== python: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr template-parameter-1-1 ::operator-() const [with T = Bound]: Assertion `px != 0' failed. === Please, have a look. Ok, I was suspecting that to. I don't know why it happens precisely

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-30 Thread Bruno Chareyre
(Don't use Newton::gravity though, it breaks something in your script and I'm still investigating). It is not related to the new Newton::gravity, it only revealed another bug in eigen's quaternions. In your script, Klaus, the clump sometimes disappear, did you notice? It is because the

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-30 Thread Bruno Chareyre
=== python: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr template-parameter-1-1 ::operator-() const [with T = Bound]: Assertion `px != 0' failed. === Please, have a look. Try 3009 please. B ___

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-30 Thread Bruno Chareyre
- One problem in your script it there are no spheres at startup, hence the collider can't determine a verletDist and then it runs at each iteration, which take a lot of time. I got a significant speedup by setting verletDist explicitely to something positive (e.g. 0.002). I added a message

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-30 Thread Klaus Thoeni
Hi Bruno, thanks for having a look at my scripts! I know that the clump is disappearing sometimes on the display but the simulation itself seems to be ok so I never had a closer look at it. But it was good you did ;-) I just had a look at rev 3010 and now I got some speed up too which is

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-27 Thread Anton Gladky
Hi, Bruno, I have prepared a small test-script from examples/packs.py. It is similar to one, which is crashes in my case,I could not catch a crash with this test-script, but it seems, BoxFactory creates new spheres not in the right places:some of particles are jumping, it can be caused by the

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-26 Thread Bruno Chareyre
the bottleneck is SpheresFactory which is working with new version incorrectly and cannot find places for new bodies. I think I see the problem. Since you are using bounding boxes for finding places, you have problems with the default Verlet distance (0.7 * mean_radius). Your algorithm is

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-26 Thread Bruno Chareyre
On 26/01/12 10:49, Bruno Chareyre wrote: the bottleneck is SpheresFactory which is working with new version incorrectly and cannot find places for new bodies. I think I see the problem. Since you are using bounding boxes for finding places, you have problems with the default Verlet distance

Re: [Yade-dev] [Yade-users] Optimized contact detection available

2012-01-26 Thread Anton Gladky
Ok, I have got a segmentation fault. Will try to prepare a simple test-script. Anton On Thu, Jan 26, 2012 at 12:22 PM, Bruno Chareyre bruno.chare...@hmg.inpg.fr wrote: Could you please try bzr3006? B I have tried one of my working scripts and the results are not good. The new version is