← Back to team overview

yade-dev team mailing list archive

Re: How to use a plugin

 

Thanks, Vaclav, I appreciate it. 


Yours,

Boon

----------------------------------------
> From: eudoxos@xxxxxxxx
> To: yade-dev@xxxxxxxxxxxxxxxxxxx
> Date: Mon, 5 Apr 2010 17:41:49 +0200
> Subject: Re: [Yade-dev] How to use a plugin
>
>
>> I was thinking of declaring two variables (idA and idB), and use a function getVariable() or setVariable(argument) to change it. So that I can asses information using "scene->body::[idA].get()->state->pos" and it doesn't get messed up. Or will it still?
> Where do you define those functions?
>
>> Could you explain more about omp_get_thread_num() and static variable? How can I switch of f parallel processing (scons jobs=1)?
> Read https://yade-dem.org/sphinx/prog.html#parallel-execution and STFW
> for omp_get_thread_num. You switch it off by setting OMP_NUM_THREADS=1
> or by using -j1 argument to yade (not scons).
>
> Play with that thing and you will see. Nothing has more value than your
> experience.
>
> Cheers, Vaclav
>
>
> _______________________________________________
> 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
 		 	   		  
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969


Follow ups

References