> 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     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to