Discussion:
[deprecated list] Timer works, but no motion
Anton Gladky
2009-05-14 07:08:35 UTC
Permalink
Hello all!
I am playing with YADE, and sometimes when I start simulation no motions I
see. Timer is working but the picture is static.
Especially, when I generate "Rotating cube" example, it happens often.
What can it be?

Best Regards / Mit freundlichen GrÌßen / С МаОлучшОЌО пПжелаМОяЌО

Anton Gladkyy
Václav Šmilauer
2009-05-14 08:08:31 UTC
Permalink
(sorry for the accidental private mail)
Post by Anton Gladky
Especially, when I generate "Rotating cube" example, it happens often.
What can it be?
Change the simestep by hand to something like 1e-2. I will put it to the
code also.

RotatingBox crashed here and I had to remove lines

rootBody->transientInteractions=shared_ptr<InteractionContainer>(new
InteractionVecSet);
rootBody->bodies=shared_ptr<BodyContainer>(new BodyRedirectionVector);

from RotatingBox::generate() to fix it. I will commit this shortly.

Vaclav


_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users-oU9gvf+***@public.gmane.org
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp
Anton Gladky
2009-05-14 08:44:08 UTC
Permalink
Thank you, Václav, for the quick help!

A several weeks ago I wrote about choosing the software for my tasks
simulation.
So it seems, I will use YADE for that. As less till the end of this year.
Then we'll analyze result and make final decision.
I hope I will be able to understand how YADE works and will try to develop
YADE project as well.

Best Regards / Mit freundlichen GrÌßen / С МаОлучшОЌО пПжелаМОяЌО

Anton Gladkyy
Post by Václav Šmilauer
(sorry for the accidental private mail)
Post by Anton Gladky
Especially, when I generate "Rotating cube" example, it happens often.
What can it be?
Change the simestep by hand to something like 1e-2. I will put it to the
code also.
RotatingBox crashed here and I had to remove lines
rootBody->transientInteractions=shared_ptr<InteractionContainer>(new
InteractionVecSet);
rootBody->bodies=shared_ptr<BodyContainer>(new BodyRedirectionVector);
from RotatingBox::generate() to fix it. I will commit this shortly.
Vaclav
_______________________________________________
Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
More help : https://help.launchpad.net/ListHelp
Janek Kozicki
2009-05-14 08:12:29 UTC
Permalink
Václav Šmilauer said: (by the date of Thu, 14 May 2009 10:08:31 +0200)
Post by Václav Šmilauer
Change the simestep by hand to something like 1e-2. I will put it to the
code also.
yes, that's too small timestep.
Post by Václav Šmilauer
RotatingBox crashed here and I had to remove lines
Why VecSet is crashing and only VecMap is working?
--
Janek Kozicki |

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users-oU9gvf+***@public.gmane.org
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp
Václav Šmilauer
2009-05-15 11:37:38 UTC
Permalink
(sorry for the private mail...)
Post by Janek Kozicki
Why VecSet is crashing and only VecMap is working?
openMP needs linear-index access to the container. VecSet doesn't
reimplement the virtual operator[](unsigned int) which just throws in
the generic implementation.

I propose to delete VecSet, since using VecMap speeds up simulations by
about 30% compared to VecSet (that' why it is not the default any more)
and it will never work with parallel code.

V.


_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users-oU9gvf+***@public.gmane.org
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp
Janek Kozicki
2009-05-16 10:21:14 UTC
Permalink
Václav Šmilauer said: (by the date of Fri, 15 May 2009 13:37:38 +0200)
Post by Václav Šmilauer
I propose to delete VecSet, since using VecMap speeds up simulations by
about 30% compared to VecSet (that' why it is not the default any more)
and it will never work with parallel code.
yep, please delete it.
--
Janek Kozicki |

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users-oU9gvf+***@public.gmane.org
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp
Loading...