Le 08/07/2010 13:24, Jack a écrit :
Hello Cyrille,

Thanks for your answer.
My system has 10000 mobiles masses, 10000 immovables masses and 10000
links.
I tried with [massesPosL( message. But the problem is i got the position
of the immovables masses. Maybe i can start to create the 10000
immovables masses, then the 10000 mobiles masses and split the list at
10000 (the list is obtained with [massesPosL().
yes, that's what i usually do.

Or i can split 4 elements then split 2 elements.
this will create more list operation...

C

I will try...
++

Jack


Le jeudi 08 juillet 2010 à 09:46 +0200, cyrille henry a écrit :
did the massesPosL message could help you?

otherwise, you have the solution to use frank trick :
use the output of the get message to write in a table, and then read the 
table...

c

Le 08/07/2010 02:13, Jack a écrit :
Hello,

I have a problem with MSD (exactly [MSD2D]). When i send [bang, get
massesPos mamasse( to [MSD2D], the output order of the positions of the
masses is not the same that the one which was given during the creation.

I'm not sure to be clear, so it is better to see an example ;) (see the
attach patch) :

If i create 3 masses in this order : [mass mamasse 1 100 0 1(, [mass
mamasse 1 100 2 3( and [mass mamasse 1 100 4 5(.
Then if i send [bang, get massesPos mamasse(, i can get from the first
outlet of [MSD2D] :
[massesPosId mamasse 2 3(
[massesPosId mamasse 0 1(
[massesPosId mamasse 4 5(
Or
[massesPosId mamasse 4 5(
[massesPosId mamasse 2 3(
[massesPosId mamasse 0 1(
Or
...

This is not really easy for me because i need to conserve this order :/
It would be better to always get :
[massesPosId mamasse 0 1(
[massesPosId mamasse 2 3(
[massesPosId mamasse 4 5(

Is there a solution with MSD ?
With PMPD and dynamic patching, i have no problem, but it is too slow.
Number of mass>   10000.
++

Jack






_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->   
http://lists.puredata.info/listinfo/pd-list





_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to