yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03902
Re: How to use a plugin
Hi,
I bumped into the problem that my variable declared is not consistent, although I ran my simulation with -j1 or OMP_NUM_THREADS=1.
What I have been doing is this: I declared a variable, NOT under any class: 'int IdA;'. My yade IgFunc sets 'IdA = interaction->getId1();'. And, from my plugin library's function, I use getScene() to assess state->pos of that body using IdA. But, when I did a check, IdA turns out to be different from interaction->getId1()!
How could I solve this?
Yours,
Boon
----------------------------------------
> From: booncw@xxxxxxxxxxx
> To: yade-dev@xxxxxxxxxxxxxxxxxxx
> Date: Thu, 8 Apr 2010 20:27:51 +0800
> Subject: Re: [Yade-dev] How to use a plugin
>
>
> Thank you, Vaclav! Now my script loads ok, but I have not tested running it.
>
> Anton: It'll be my pleasure.
>
>
> Yours,
>
> Boon
>
> _________________________________________________________________
> Hotmail: Powerful Free email with security by Microsoft.
> https://signup.live.com/signup.aspx?id=60969
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help : https://help.launchpad.net/ListHelp
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
Follow ups
References
-
How to use a plugin
From: boon chiaweng, 2010-04-01
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-05
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-05
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-05
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-07
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-08
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-08
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-08
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-08
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-08
-
Re: How to use a plugin
From: Anton Gladky, 2010-04-08
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-08