aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2014-10-17 17:40:50 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2014-10-17 17:40:50 +0000
commit49082d815056a27431944dfa5bb3e979485246b7 (patch)
treea7fa41e69054a7a2f96f510de3fe23d60b4495bb
parent2b5ae7744de11430fe34b8d399dd836aa80dc1e1 (diff)
update help patch
svn path=/trunk/externals/pmpd/; revision=17361
-rw-r--r--pmpd-help.pd185
-rw-r--r--pmpd2d-help.pd267
-rw-r--r--pmpd3d-help.pd272
3 files changed, 379 insertions, 345 deletions
diff --git a/pmpd-help.pd b/pmpd-help.pd
index 6a2e392..78af86a 100644
--- a/pmpd-help.pd
+++ b/pmpd-help.pd
@@ -1,31 +1,31 @@
-#N canvas 538 182 584 778 10;
-#X obj 4 369 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
+#N canvas 583 200 584 778 10;
+#X obj 4 368 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
0;
-#X obj 5 729 cnv 15 550 40 empty empty empty 20 12 0 14 -158509 -66577
+#X obj 5 728 cnv 15 550 40 empty empty empty 20 12 0 14 -158509 -66577
0;
-#X obj 8 6 cnv 15 550 30 empty empty empty 20 12 0 14 -233017 -66577
+#X obj 8 5 cnv 15 550 30 empty empty empty 20 12 0 14 -233017 -66577
0;
-#X obj 14 389 cnv 15 75 15 empty empty empty 20 12 0 14 -233017 -66577
+#X obj 14 388 cnv 15 75 15 empty empty empty 20 12 0 14 -233017 -66577
0;
-#X obj 14 644 cnv 15 75 15 empty empty empty 20 12 0 14 -233017 -66577
+#X obj 14 643 cnv 15 75 15 empty empty empty 20 12 0 14 -233017 -66577
0;
-#X obj 4 587 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
+#X obj 4 586 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
0;
-#X obj 4 622 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
+#X obj 4 621 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
0;
-#X obj 7 76 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
+#X obj 7 75 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
0;
-#X obj 5 679 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
+#X obj 5 678 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
0;
-#X obj 5 699 cnv 15 550 30 empty empty empty 20 12 0 14 -233017 -66577
+#X obj 5 698 cnv 15 550 30 empty empty empty 20 12 0 14 -233017 -66577
0;
-#X text 12 76 Examples:;
-#X text 9 369 Inlets:;
-#X text 19 388 - Left:;
-#X text 10 586 Arguments:;
-#X text 11 622 Outlets:;
-#X text 19 679 See Also:;
-#X text 74 48 Full Name:;
+#X text 12 75 Examples:;
+#X text 9 368 Inlets:;
+#X text 19 387 - Left:;
+#X text 10 585 Arguments:;
+#X text 11 621 Outlets:;
+#X text 19 678 See Also:;
+#X text 74 47 Full Name:;
#N canvas 56 110 262 70 Related_Objects 0;
#X obj 3 10 cnv 15 250 15 empty empty empty 20 12 0 14 -158509 -66577
0;
@@ -34,7 +34,7 @@
#X text 5 10 Externals and libraries;
#X obj 44 37 pmpd2d;
#X obj 140 37 pmpd3d;
-#X restore 122 736 pd Related_Objects;
+#X restore 122 735 pd Related_Objects;
#N canvas 537 397 524 302 init 0;
#X msg 89 187 Xmax 127 \, Xmin 0;
#X obj 89 215 t a;
@@ -61,15 +61,15 @@ souple 3 2 1 0.5;
#X connect 7 0 5 0;
#X connect 8 0 1 0;
#X connect 9 0 1 0;
-#X restore 17 156 pd init;
-#X obj 17 344 s \$0-out;
-#X obj 17 295 r \$0-in;
-#X obj 261 184 vsl 15 127 0 127 0 0 empty empty Drag-----> -70 60 1
+#X restore 17 155 pd init;
+#X obj 17 343 s \$0-out;
+#X obj 17 294 r \$0-in;
+#X obj 261 183 vsl 15 127 0 127 0 0 empty empty Drag-----> -70 60 1
10 -262144 -1 -1 0 1;
-#X obj 292 184 vsl 15 127 0 127 0 0 empty empty empty 0 -8 0 8 -262144
+#X obj 292 183 vsl 15 127 0 127 0 0 empty empty empty 0 -8 0 8 -262144
-1 -1 0 1;
-#X obj 261 345 s \$0-in;
-#X msg 261 322 posX fix \$1;
+#X obj 261 344 s \$0-in;
+#X msg 261 321 posX fix \$1;
#N canvas 561 581 355 193 compute 0;
#X obj 159 37 inlet;
#X obj 159 74 metro 20;
@@ -78,37 +78,36 @@ souple 3 2 1 0.5;
#X connect 0 0 1 0;
#X connect 1 0 3 0;
#X connect 3 0 2 0;
-#X restore 17 224 pd compute;
-#X obj 17 207 tgl 15 0 empty empty ON/OFF 25 10 1 10 -262144 -1 -1
+#X restore 17 223 pd compute;
+#X obj 17 206 tgl 15 0 empty empty ON/OFF 25 10 1 10 -262144 -1 -1
1 1;
-#X obj 261 107 r \$0-out;
-#X obj 17 139 bng 15 250 50 0 empty empty reset 25 10 1 10 -262144
+#X obj 261 106 r \$0-out;
+#X obj 17 138 bng 15 250 50 0 empty empty reset 25 10 1 10 -262144
-1 -1;
-#X obj 261 131 route massesPosL;
-#X obj 311 184 vsl 15 127 0 127 0 0 empty empty empty 0 -8 0 8 -262144
+#X obj 261 130 route massesPosL;
+#X obj 311 183 vsl 15 127 0 127 0 0 empty empty empty 0 -8 0 8 -262144
-1 -1 0 1;
-#X obj 330 184 vsl 15 127 0 127 0 0 empty empty empty 0 -8 0 8 -262144
+#X obj 330 183 vsl 15 127 0 127 0 0 empty empty empty 0 -8 0 8 -262144
-1 -1 0 1;
-#X obj 261 152 unpack f f f f;
-#X text 160 477 To set the model parameters after creation.;
-#X text 160 458 To create the model masses and links.;
-#X text 103 602 None;
-#X text 18 643 - Left:;
-#X text 101 644 Outputs the model parameters asked with the attributes
+#X obj 261 151 unpack f f f f;
+#X text 160 476 To set the model parameters after creation.;
+#X text 160 457 To create the model masses and links.;
+#X text 103 601 None;
+#X text 18 642 - Left:;
+#X text 101 643 Outputs the model parameters asked with the attributes
messages.;
-#X text 101 420 Messages - Different messages are used to control the
+#X text 101 419 Messages - Different messages are used to control the
msd object. They are of three types :;
-#X text 9 700 CATEGORY: control;
-#X text 111 679 01_msdtest.pd;
-#X obj 157 48 pmpd;
-#X text 12 8 HELP: pmpd;
-#X text 12 20 DESCRIPTION: physical modeling for pd \, based on msd.
+#X text 9 699 CATEGORY: control;
+#X text 111 678 01_msdtest.pd;
+#X text 12 7 HELP: pmpd;
+#X text 12 19 DESCRIPTION: physical modeling for pd \, based on msd.
;
-#X obj 17 319 pmpd;
-#X text 266 736 - Cyrille Henry \, 2011;
-#X text 283 752 based on MSD by Nicolas Montgermont;
-#X obj 17 187 loadbang;
-#N canvas 175 152 617 876 links_attributes 0;
+#X obj 17 318 pmpd;
+#X text 266 735 - Cyrille Henry \, 2011;
+#X text 283 751 based on MSD by Nicolas Montgermont;
+#X obj 17 186 loadbang;
+#N canvas 173 157 617 876 links_attributes 0;
#X obj 5 3 cnv 15 590 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 9 241 cnv 15 170 190 empty empty empty 20 12 0 14 -233017 -66577
@@ -186,8 +185,8 @@ on outlet No 1;
filter on link Id is possible;
#X msg 14 172 linkLength [\$1];
#X text 216 174 linkLength symbolId number length;
-#X restore 12 517 pd links_attributes ___;
-#N canvas 155 136 997 789 dynamic 0;
+#X restore 12 516 pd links_attributes ___;
+#N canvas 153 141 997 789 dynamic 0;
#X obj 5 3 cnv 15 900 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 10 85 cnv 15 130 650 empty empty empty 20 12 0 14 -233017 -66577
@@ -308,8 +307,8 @@ that amplifies forces that oppose to movment. Use at your own risk.
#X text 602 209 Set initial length of link(s) / add value to link length
;
#X text 639 255 [\$3] : optional multiplicator value to the table;
-#X restore 12 477 pd dynamic settings ___;
-#N canvas 573 185 571 697 creation____________ 0;
+#X restore 12 476 pd dynamic settings ___;
+#N canvas 569 195 571 697 creation____________ 0;
#X obj 11 95 cnv 15 100 60 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 5 75 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
@@ -361,7 +360,7 @@ the model. Messages create links and masses or destroy them.;
#X text 287 498 [\$7] : minimum lenght of link;
#X text 288 515 [\$8] : maximum lenght of link;
#X text 288 479 [\$6] : Power of the rigidity distance;
-#X restore 12 457 pd creation____________;
+#X restore 12 456 pd creation____________;
#N canvas 50 82 901 640 More_Info 0;
#X text 96 12 pmpd : mass - spring - damper model;
#X obj 426 -5 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
@@ -569,8 +568,8 @@ one physical parameter \, the value of their mass. They can be mobile
or fixed \, in this case forces applied to them automatically \, by
links \, or manually \, by messages \, don't do anything.;
#X connect 1 0 2 0;
-#X restore 18 735 pd More_Info;
-#N canvas 418 188 614 722 masses_attributes___ 0;
+#X restore 18 734 pd More_Info;
+#N canvas 416 193 614 722 masses_attributes___ 0;
#X obj 5 3 cnv 15 590 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 7 307 cnv 15 150 100 empty empty empty 20 12 0 14 -233017 -66577
@@ -639,8 +638,8 @@ and forces of masses.;
#X text 200 502 \$1 = table name;
#X text 197 660 \$1 (optional): Masses Id;
#X text 197 676 \$2 (optional): Masses Id;
-#X restore 12 497 pd masses_attributes___;
-#N canvas 869 217 619 540 statistics 0;
+#X restore 12 496 pd masses_attributes___;
+#N canvas 867 222 619 540 statistics 0;
#X obj 20 41 cnv 15 170 190 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 19 21 cnv 15 590 15 empty empty empty 20 12 0 14 -158509 -66577
@@ -693,26 +692,26 @@ velocity;
#X text 202 210 output the number of masses;
#X text 208 457 output various information on the links;
#X text 209 479 output the number of links;
-#X restore 12 537 pd statistics _________;
-#X text 161 539 To get statistical data of the simulation.;
-#X text 101 388 Bang - A bang at the left inlet computes the new model
+#X restore 12 536 pd statistics _________;
+#X text 161 538 To get statistical data of the simulation.;
+#X text 101 387 Bang - A bang at the left inlet computes the new model
state based on previous time step.;
-#X text 160 498 To get the model parameters (masses).;
-#X text 161 518 To get the model parameters (links).;
-#X text 9 711 KEYWORDS: physical model \, mass \, spring \, damper
+#X text 160 497 To get the model parameters (masses).;
+#X text 161 517 To get the model parameters (links).;
+#X text 9 710 KEYWORDS: physical model \, mass \, spring \, damper
\, link;
-#N canvas 435 485 725 566 tests 0;
+#N canvas 676 132 734 663 tests 0;
#X obj 5 3 cnv 15 700 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 17 2 TESTS Messages;
-#X obj 5 45 cnv 15 330 150 empty empty empty 20 12 0 14 -233017 -66577
+#X obj 5 45 cnv 15 330 180 empty empty empty 20 12 0 14 -233017 -66577
0;
#X msg 16 50 testMass testId filterId filter_parametter ...;
#X text 377 69 testMass testId mass_number;
#X text 380 130 testMassL filterID 0/1 0/1 0/1 ...;
#X msg 15 155 testMassT tab_name filterId filter_parametter ...;
#X msg 14 99 testMassL testId filterId filter_parametter ....;
-#X text 52 203 masses test can be :;
+#X text 52 243 masses test can be :;
#X text 339 47 output a message for every mass that passes all the
tests:;
#X text 344 99 output a list with 0 or 1 for every mass depending on
@@ -722,28 +721,28 @@ all tests;
#X obj 4 24 cnv 15 700 15 empty empty empty 20 12 0 14 -158509 -66577
0;
#X text 17 24 masses :;
-#X obj 9 304 cnv 15 700 15 empty empty empty 20 12 0 14 -158509 -66577
-0;
-#X text 22 304 links :;
-#X obj 10 325 cnv 15 330 150 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X msg 17 334 testLink testId filterId filter_parametter ...;
-#X msg 16 384 testLinkL testId filterId filter_parametter ....;
-#X msg 17 435 testLinkT tab_name filterId filter_parametter ...;
-#X text 377 354 testLink testId mass_number;
-#X text 377 419 testLinkL filterID 0/1 0/1 0/1 ...;
-#X text 58 493 links test can be :;
-#X text 200 493 Id \$1 / forceSup \$1 / forceInf \$1 / forceXSup \$1
+#X obj 9 344 cnv 15 700 15 empty empty empty 20 12 0 14 -158509 -66577
+0;
+#X text 22 344 links :;
+#X obj 10 365 cnv 15 330 180 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X msg 17 374 testLink testId filterId filter_parametter ...;
+#X msg 16 424 testLinkL testId filterId filter_parametter ....;
+#X msg 17 475 testLinkT tab_name filterId filter_parametter ...;
+#X text 377 394 testLink testId mass_number;
+#X text 377 459 testLinkL filterID 0/1 0/1 0/1 ...;
+#X text 58 583 links test can be :;
+#X text 200 583 Id \$1 / forceSup \$1 / forceInf \$1 / forceXSup \$1
/ forceXInf \$1 / forceYSup \$1 / forceYInf \$1 / lengthSup \$1 / lengthInf
\$1 / lengthXSup \$1 / lengthXInf \$1 / lengthYSup \$1 / lengthYInf
\$1 / connectedTo \$1 (symbol or float);
-#X text 345 334 output a message for every link that passes all the
+#X text 345 374 output a message for every link that passes all the
tests:;
-#X text 346 387 output a list with 0 or 1 for every link depending
+#X text 346 427 output a list with 0 or 1 for every link depending
on whether it passes all tests or not;
-#X text 346 438 Put in a table 0 or 1 depending on whether links pass
+#X text 346 478 Put in a table 0 or 1 depending on whether links pass
all tests;
-#X text 196 201 Id \$1 / posXSup \$1 / posXInf \$1 / posYSup \$1 /
+#X text 196 241 Id \$1 / posXSup \$1 / posXInf \$1 / posYSup \$1 /
posYInf \$1 / speedXSup \$1 / speedXInf \$1 / speedYSup \$1 / speedYInf
\$1 / speedSup \$1 / speedInf \$1 / distanceCircleSup \$1 \$2 \$3 (centerX
\, centerY \, distance) / distanceCircleInf \$1 \$2 \$3 (centerX \,
@@ -751,9 +750,17 @@ centerY \, distance) / massSup \$1 / massInf \$1 / forceSup \$1 / forceInf
\$1 / forceXSup \$1 / forceXInf \$1 / forceYSup \$1 / forceYInf \$1
/ nbLinkInf \$1 / nbLinkSup \$1 / nbLinkEqual \$1 / nbLinkNameInf \$1
\$2 / nbLinkNameSup \$1 \$2 / nbLinkNameEqual \$1 \$2, f 83;
-#X restore 12 557 pd tests ______________;
-#X text 164 559 To test specific parameters;
-#X connect 20 0 44 0;
+#X msg 15 205 testMassN massnumber filterId filter_parametter ...;
+#X text 346 207 output : testMassN \, mass_id \, mass_number \, 0 or
+1 (test result);
+#X msg 17 525 testLinkT link_number filterId filter_parametter ...
+;
+#X text 346 526 output : testLinkN \, link_id \, link_number \, 0 or
+1 (test result);
+#X restore 12 556 pd tests ______________;
+#X text 164 558 To test specific parameters;
+#X obj 157 47 pmpd;
+#X connect 20 0 43 0;
#X connect 21 0 24 0;
#X connect 24 0 23 0;
#X connect 26 0 25 0;
@@ -764,5 +771,5 @@ centerY \, distance) / massSup \$1 / massInf \$1 / forceSup \$1 / forceInf
#X connect 32 1 22 0;
#X connect 32 2 30 0;
#X connect 32 3 31 0;
-#X connect 44 0 19 0;
-#X connect 47 0 26 0;
+#X connect 43 0 19 0;
+#X connect 46 0 26 0;
diff --git a/pmpd2d-help.pd b/pmpd2d-help.pd
index 0c86017..4e89f06 100644
--- a/pmpd2d-help.pd
+++ b/pmpd2d-help.pd
@@ -1,4 +1,4 @@
-#N canvas 273 209 572 750 10;
+#N canvas 265 229 572 750 10;
#X declare -lib Gem;
#X obj 4 309 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
0;
@@ -383,7 +383,7 @@ pmpd object. They are of three types :;
#X text 11 19 DESCRIPTION: Physical modeling for Pd in 2d;
#X text 265 709 - Cyrille Henry 2011;
#X text 265 721 based on MSD by Nicolas Montgermont \, 2005;
-#N canvas 584 356 1173 699 links_attributes 0;
+#N canvas 610 270 1173 699 links_attributes 0;
#X obj 5 3 cnv 15 550 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 8 250 cnv 15 170 380 empty empty empty 20 12 0 14 -233017 -66577
@@ -506,7 +506,7 @@ filter on link id is possible;
#X text 184 174 output a message for every link :;
#X text 213 190 linkLength symbolId number lengthX lengthY length;
#X restore 12 466 pd links_attributes ___;
-#N canvas 276 155 935 531 creation____________ 0;
+#N canvas 274 160 935 531 creation____________ 0;
#X obj 5 75 cnv 15 450 15 empty empty empty 20 12 0 14 -158509 -66577
0;
#X obj 5 3 cnv 15 900 15 empty empty empty 20 12 0 14 -233017 -66577
@@ -577,7 +577,7 @@ the model. Messages create links and masses or destroy them.;
links. They work as general links but their calculation is made following
a vector.;
#X restore 12 407 pd creation____________;
-#N canvas 94 157 1031 818 dynamic 0;
+#N canvas 92 162 1031 818 dynamic 0;
#X obj 5 3 cnv 15 900 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 10 85 cnv 15 150 670 empty empty empty 20 12 0 14 -233017 -66577
@@ -709,7 +709,7 @@ uses this argument as the value applied to all masses (or links);
#X restore 12 427 pd dynamic settings ___;
#X text 112 658 54_pmpd2dtest.pd;
#X obj 325 272 print;
-#N canvas 48 110 1153 632 masses_attributes___ 0;
+#N canvas 40 130 1153 632 masses_attributes___ 0;
#X obj 5 75 cnv 15 500 15 empty empty empty 20 12 0 14 -158509 -66577
0;
#X obj 5 3 cnv 15 500 15 empty empty empty 20 12 0 14 -233017 -66577
@@ -757,25 +757,17 @@ uses this argument as the value applied to all masses (or links);
#X msg 549 57 massPosXT \$1 [\$2];
#X msg 569 76 massPosYT \$1 [\$2];
#X msg 548 94 massPosNormT \$1 [\$2];
-#X msg 550 152 massSpeedsT \$1 [\$2];
-#X msg 550 171 massSpeedsXT \$1 [\$2];
-#X msg 570 190 massSpeedsYT \$1 [\$2];
-#X msg 550 208 massSpeedsNormT \$1 [\$2];
-#X msg 551 259 massForcesT \$1 [\$2];
-#X msg 550 278 massForcesXT \$1 [\$2];
-#X msg 550 297 massForcesYT \$1 [\$2];
-#X msg 550 315 massSpeedsNormT \$1 [\$2];
-#X obj 545 401 cnv 15 170 110 empty empty empty 20 12 0 14 -233017
+#X obj 545 401 cnv 15 170 200 empty empty empty 20 12 0 14 -233017
-66577 0;
#X obj 543 379 cnv 15 590 15 empty empty empty 20 12 0 14 -158509 -66577
0;
-#X text 725 408 output the closest mass;
+#X text 755 408 output the closest mass;
#X text 546 379 others :;
-#X msg 555 467 massDistance [\$1 [\$2]];
-#X text 764 482 distance mass1 mass2 distanceX \, distanceY \, distanceZ
+#X msg 555 567 massDistance [\$1 [\$2]];
+#X text 764 582 distance mass1 mass2 distanceX \, distanceY \, distanceZ
\, distance;
#X msg 551 410 closestMass \$1 \$2 \$3 [\$4];
-#X text 764 451 \$3 : none or Id;
+#X text 794 451 \$3 : none or Id;
#X text 15 30 The attributes messages ask the object to output some
of its internal parameters. They can be output as lists for positions
and forces of masses.;
@@ -785,7 +777,7 @@ and forces of masses.;
#X text 172 499 Output all forces applied to masses in a list on outlet
No 1;
#X text 724 263 Output all forces applied to masses on a table;
-#X text 729 468 output a series of messages :;
+#X text 729 568 output a series of messages :;
#X text 170 310 Output all mass positions in a list on outlet No 1
;
#X text 168 361 Output all norm of position vectors (sqrt(x*x+y*y))
@@ -811,23 +803,37 @@ a table;
#X text 724 315 Output all norm of force vectors (sqrt(x*x+y*y)) on
a table;
#X text 544 5 tables out :;
-#X text 764 422 \$1 : x position;
-#X text 764 437 \$2 : y position;
+#X text 794 422 \$1 : x position;
+#X text 794 437 \$2 : y position;
#X text 218 203 massSpeed symbolId number speedX speedY speedZ;
#X text 218 258 massForce symbolId number forceX forceY forceZ;
+#X msg 550 152 massSpeedT \$1 [\$2];
+#X msg 550 171 massSpeedXT \$1 [\$2];
+#X msg 570 190 massSpeedYT \$1 [\$2];
+#X msg 550 208 massSpeedNormT \$1 [\$2];
+#X msg 551 259 massForceT \$1 [\$2];
+#X msg 550 278 massForceXT \$1 [\$2];
+#X msg 550 297 massForceYT \$1 [\$2];
+#X msg 550 315 massForceNormT \$1 [\$2];
+#X text 755 478 output the closest mass;
+#X msg 551 480 closestMassN \$1 \$2 \$3 \$4 [\$5];
+#X text 794 493 \$1 : Number of closest mass to output;
+#X text 794 508 \$2 : x position;
+#X text 794 523 \$3 : y position;
+#X text 794 537 \$4 : none or Id;
#X restore 12 447 pd masses_attributes___;
-#N canvas 555 361 725 566 tests 0;
+#N canvas 254 391 728 639 tests 0;
#X obj 5 3 cnv 15 700 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 17 2 TESTS Messages;
-#X obj 5 45 cnv 15 330 150 empty empty empty 20 12 0 14 -233017 -66577
+#X obj 5 45 cnv 15 330 200 empty empty empty 20 12 0 14 -233017 -66577
0;
#X msg 16 50 testMass testId filterId filter_parametter ...;
#X text 377 69 testMass testId mass_number;
#X text 380 130 testMassL filterID 0/1 0/1 0/1 ...;
#X msg 15 155 testMassT tab_name filterId filter_parametter ...;
#X msg 14 99 testMassL testId filterId filter_parametter ....;
-#X text 52 203 masses test can be :;
+#X text 52 247 masses test can be :;
#X text 339 47 output a message for every mass that passes all the
tests:;
#X text 344 99 output a list with 0 or 1 for every mass depending on
@@ -837,28 +843,28 @@ all tests;
#X obj 4 24 cnv 15 700 15 empty empty empty 20 12 0 14 -158509 -66577
0;
#X text 17 24 masses :;
-#X obj 9 304 cnv 15 700 15 empty empty empty 20 12 0 14 -158509 -66577
-0;
-#X text 22 304 links :;
-#X obj 10 325 cnv 15 330 150 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X msg 17 334 testLink testId filterId filter_parametter ...;
-#X msg 16 384 testLinkL testId filterId filter_parametter ....;
-#X msg 17 435 testLinkT tab_name filterId filter_parametter ...;
-#X text 377 354 testLink testId mass_number;
-#X text 377 419 testLinkL filterID 0/1 0/1 0/1 ...;
-#X text 58 493 links test can be :;
-#X text 200 493 Id \$1 / forceSup \$1 / forceInf \$1 / forceXSup \$1
+#X obj 9 344 cnv 15 700 15 empty empty empty 20 12 0 14 -158509 -66577
+0;
+#X text 22 344 links :;
+#X obj 10 365 cnv 15 330 200 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X msg 17 374 testLink testId filterId filter_parametter ...;
+#X msg 16 424 testLinkL testId filterId filter_parametter ....;
+#X msg 17 475 testLinkT tab_name filterId filter_parametter ...;
+#X text 377 394 testLink testId mass_number;
+#X text 377 459 testLinkL filterID 0/1 0/1 0/1 ...;
+#X text 58 573 links test can be :;
+#X text 200 573 Id \$1 / forceSup \$1 / forceInf \$1 / forceXSup \$1
/ forceXInf \$1 / forceYSup \$1 / forceYInf \$1 / lengthSup \$1 / lengthInf
\$1 / lengthXSup \$1 / lengthXInf \$1 / lengthYSup \$1 / lengthYInf
\$1 / connectedTo \$1 (symbol or float);
-#X text 345 334 output a message for every link that passes all the
+#X text 345 374 output a message for every link that passes all the
tests:;
-#X text 346 387 output a list with 0 or 1 for every link depending
+#X text 346 427 output a list with 0 or 1 for every link depending
on whether it passes all tests or not;
-#X text 346 438 Put in a table 0 or 1 depending on whether links pass
+#X text 346 478 Put in a table 0 or 1 depending on whether links pass
all tests;
-#X text 196 201 Id \$1 / posXSup \$1 / posXInf \$1 / posYSup \$1 /
+#X text 196 247 Id \$1 / posXSup \$1 / posXInf \$1 / posYSup \$1 /
posYInf \$1 / speedXSup \$1 / speedXInf \$1 / speedYSup \$1 / speedYInf
\$1 / speedSup \$1 / speedInf \$1 / distanceCircleSup \$1 \$2 \$3 (centerX
\, centerY \, distance) / distanceCircleInf \$1 \$2 \$3 (centerX \,
@@ -866,109 +872,116 @@ centerY \, distance) / massSup \$1 / massInf \$1 / forceSup \$1 / forceInf
\$1 / forceXSup \$1 / forceXInf \$1 / forceYSup \$1 / forceYInf \$1
/ nbLinkInf \$1 / nbLinkSup \$1 / nbLinkEqual \$1 / nbLinkNameInf \$1
\$2 / nbLinkNameSup \$1 \$2 / nbLinkNameEqual \$1 \$2, f 83;
+#X msg 15 205 testMassN massnumber filterId filter_parametter ...;
+#X msg 17 525 testLinkT link_number filterId filter_parametter ...
+;
+#X text 346 526 output : testLinkN \, link_id \, link_number \, 0 or
+1 (test result);
+#X text 346 207 output : testMassN \, mass_id \, mass_number \, 0 or
+1 (test result);
#X restore 12 486 pd tests ______________;
-#N canvas 1085 498 709 556 interactors 0;
-#X obj -30 -169 cnv 15 600 15 empty empty empty 20 12 0 14 -233017
--66577 0;
-#X obj -30 -147 cnv 15 330 450 empty empty empty 20 12 0 14 -233017
--66577 0;
-#X text 25 -105 \$2 \$3 : center of the circle;
-#X text 24 -91 \$4 : circle radius;
-#X text 24 -77 \$5 : K;
-#X text 24 -64 \$6 : power of the force;
-#X text 28 47 \$1 : mass Id (float or symbol) to apply this interactor
+#N canvas 1081 499 709 556 interactors 0;
+#X obj 30 11 cnv 15 600 15 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X obj 30 33 cnv 15 330 450 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X text 85 75 \$2 \$3 : center of the circle;
+#X text 84 89 \$4 : circle radius;
+#X text 84 103 \$5 : K;
+#X text 84 116 \$6 : power of the force;
+#X text 88 227 \$1 : mass Id (float or symbol) to apply this interactor
;
-#X text 26 74 \$4 \$5 : 2nd point of the line;
-#X text 26 89 \$6 : K;
-#X text 26 104 \$7 : power of the force;
-#X text 26 119 \$8 : minimum profund of the interactor;
-#X text 25 134 \$9 : maximum profund of the interactor;
-#X msg -16 25 iLine \$1 \$2 \$3 \$4 \$5 \$6 [\$7 [\$8 [\$9 ]]];
-#X text 24 -50 \$7 : K tengential;
-#X text 24 -36 \$8 : power of the tengential force;
-#X text 23 -20 \$9 : minimum radius of the interactor;
-#X text 22 -6 \$10 : maximum radius of the interactor;
-#X msg -19 -139 iCircle \$1 \$2 \$3 \$4 \$5 [\$6 [\$7 [\$8 [\$9 [\$10
+#X text 86 254 \$4 \$5 : 2nd point of the line;
+#X text 86 269 \$6 : K;
+#X text 86 284 \$7 : power of the force;
+#X text 86 299 \$8 : minimum profund of the interactor;
+#X text 85 314 \$9 : maximum profund of the interactor;
+#X msg 44 205 iLine \$1 \$2 \$3 \$4 \$5 \$6 [\$7 [\$8 [\$9 ]]];
+#X text 84 130 \$7 : K tengential;
+#X text 84 144 \$8 : power of the tengential force;
+#X text 83 160 \$9 : minimum radius of the interactor;
+#X text 82 174 \$10 : maximum radius of the interactor;
+#X msg 41 41 iCircle \$1 \$2 \$3 \$4 \$5 [\$6 [\$7 [\$8 [\$9 [\$10
]]]]];
-#X text 26 -118 \$1 : mass Id (float or symbol) to apply this interactor
+#X text 86 62 \$1 : mass Id (float or symbol) to apply this interactor
;
-#X text 27 60 \$2 \$3 : 1st point of the line;
-#X text -18 -170 INTERACTOR Messages;
-#X text 310 -140 create a one time circular interaction on masses;
-#X text 307 21 create a one time linear interaction on masses;
-#X msg -16 174 iMatrix \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8 \$9;
-#X text 25 193 \$1 : mass Id (float or symbol) to apply this interactor
+#X text 87 240 \$2 \$3 : 1st point of the line;
+#X text 42 10 INTERACTOR Messages;
+#X text 370 40 create a one time circular interaction on masses;
+#X text 367 201 create a one time linear interaction on masses;
+#X msg 44 354 iMatrix \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8 \$9;
+#X text 85 373 \$1 : mass Id (float or symbol) to apply this interactor
;
-#X text 26 208 \$2 : K;
-#X text 26 222 \$3 \$4 \$5 \$6 : space limitation of the matrix in
+#X text 86 388 \$2 : K;
+#X text 86 402 \$3 \$4 \$5 \$6 : space limitation of the matrix in
the pm world (Xmin \, Xmax \, Ymin \, Ymax);
-#X text 27 250 \$7 \$8 : matrix size;
-#X text 27 265 \$9 \$10 : table name (X and Y) containing matrix data
+#X text 87 430 \$7 \$8 : matrix size;
+#X text 87 445 \$9 \$10 : table name (X and Y) containing matrix data
;
-#X text 307 171 create a one time spacial interaction on masses;
+#X text 367 351 create a one time spacial interaction on masses;
#X restore 12 505 pd interactors ________;
-#N canvas 890 238 584 585 statistics 0;
-#X obj -127 50 cnv 15 150 210 empty empty empty 20 12 0 14 -233017
--66577 0;
-#X obj -125 30 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
-0;
-#X text 241 250 \$1 : none or Id;
-#X msg -121 63 massPosMean;
-#X msg -121 85 massPosStd \$1;
-#X msg -121 110 massForceMean;
-#X msg -121 134 massForceStd \$1;
-#X msg -120 161 massSpeedMean;
-#X msg -121 185 massSpeedStd \$1;
-#X text 30 63 output the average position of masses and center distance
+#N canvas 888 243 584 585 statistics 0;
+#X obj 3 50 cnv 15 150 210 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X obj 5 30 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
+0;
+#X text 371 250 \$1 : none or Id;
+#X msg 9 63 massPosMean;
+#X msg 9 85 massPosStd \$1;
+#X msg 9 110 massForceMean;
+#X msg 9 134 massForceStd \$1;
+#X msg 10 161 massSpeedMean;
+#X msg 9 185 massSpeedStd \$1;
+#X text 160 63 output the average position of masses and center distance
;
-#X text -112 30 masses :;
-#X obj -125 286 cnv 15 150 290 empty empty empty 20 12 0 14 -233017
--66577 0;
-#X obj -126 266 cnv 15 550 15 empty empty empty 20 12 0 14 -158509
--66577 0;
-#X msg -119 321 linkPosStd \$1;
-#X msg -119 378 linkLengthStd \$1;
-#X msg -119 434 linkPosSpeedStd \$1;
-#X text 289 563 \$1 : none or Id;
-#X msg -119 499 linkLengthSpeedStd \$1;
-#X msg -119 293 linkPosMean \$1;
-#X msg -119 349 linkLengthMean \$1;
-#X msg -118 406 linkPosSpeedMean \$1;
-#X msg -119 469 linkLengthSpeedMean \$1;
-#X text -113 266 links :;
-#X text 30 161 output the average velocity of masses (X \, Y \, Norm)
+#X text 18 30 masses :;
+#X obj 5 286 cnv 15 150 290 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X obj 4 266 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
+0;
+#X msg 11 321 linkPosStd \$1;
+#X msg 11 378 linkLengthStd \$1;
+#X msg 11 434 linkPosSpeedStd \$1;
+#X text 419 563 \$1 : none or Id;
+#X msg 11 499 linkLengthSpeedStd \$1;
+#X msg 11 293 linkPosMean \$1;
+#X msg 11 349 linkLengthMean \$1;
+#X msg 12 406 linkPosSpeedMean \$1;
+#X msg 11 469 linkLengthSpeedMean \$1;
+#X text 17 266 links :;
+#X text 160 161 output the average velocity of masses (X \, Y \, Norm)
;
-#X text 34 404 output the average center position velocity of links
+#X text 164 404 output the average center position velocity of links
(X \, Y \, Norm);
-#X text 30 84 output the standard deviation of mass positions and center
-distance;
-#X text 30 110 output the average force applied to masses (X \, Y and
-Norm);
-#X text 31 133 output the standard deviation of mass forces;
-#X text 30 188 output the standard deviation of mass velocities;
-#X text 32 323 output the standard deviation of link center positions
+#X text 160 84 output the standard deviation of mass positions and
+center distance;
+#X text 160 110 output the average force applied to masses (X \, Y
+and Norm);
+#X text 161 133 output the standard deviation of mass forces;
+#X text 160 188 output the standard deviation of mass velocities;
+#X text 162 323 output the standard deviation of link center positions
;
-#X text 32 350 output the average link lengths (X \, Y \, L);
-#X text 33 377 output the standard deviation of link lengths;
-#X text 34 434 output the standard deviation of link center position
+#X text 162 350 output the average link lengths (X \, Y \, L);
+#X text 163 377 output the standard deviation of link lengths;
+#X text 164 434 output the standard deviation of link center position
velocities;
-#X text 32 470 output the average change in link lengths (X \, Y \,
+#X text 162 470 output the average change in link lengths (X \, Y \,
Norm);
-#X text 32 499 output the standard deviation of link lengths change
+#X text 162 499 output the standard deviation of link lengths change
;
-#X text 32 290 output the average position of link centers (X \, Y
+#X text 162 290 output the average position of link centers (X \, Y
\, center disdance);
-#X obj -125 6 cnv 15 550 15 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X text -113 5 STATISTICS Messages;
-#X msg -120 213 massInfo \$1;
-#X msg -118 525 linkInfo \$1;
-#X msg -120 239 massNumber \$1;
-#X msg -118 551 linkNumber;
-#X text 30 213 output various information on the masses;
-#X text 31 241 output the number of masses;
-#X text 35 525 output various information on the links;
-#X text 36 553 output the number of links;
+#X obj 5 6 cnv 15 550 15 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X text 17 5 STATISTICS Messages;
+#X msg 10 213 massInfo \$1;
+#X msg 12 525 linkInfo \$1;
+#X msg 10 239 massNumber \$1;
+#X msg 12 551 linkNumber;
+#X text 160 213 output various information on the masses;
+#X text 161 241 output the number of masses;
+#X text 165 525 output various information on the links;
+#X text 166 553 output the number of links;
#X restore 12 525 pd statistics _________;
#X text 164 507 To send complex forces;
#X text 163 526 To get statistical data of the simulation;
diff --git a/pmpd3d-help.pd b/pmpd3d-help.pd
index 7e8f312..f7e611e 100644
--- a/pmpd3d-help.pd
+++ b/pmpd3d-help.pd
@@ -1,4 +1,4 @@
-#N canvas 326 159 570 717 10;
+#N canvas 964 299 570 717 10;
#X declare -lib Gem;
#X obj 4 289 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
0;
@@ -129,7 +129,7 @@ mass mob 1 100 1 0 -1 \, mass mob 1 100 0 0 -1 \, mass mob 1 100 1
#X obj 17 226 pmpd3d;
#X text 417 226 2 Send forces;
#X text 112 617 01_pmpd3dtest.pd;
-#N canvas 252 218 950 547 creation____________ 0;
+#N canvas 248 228 950 547 creation____________ 0;
#X obj 5 75 cnv 15 450 15 empty empty empty 20 12 0 14 -158509 -66577
0;
#X obj 5 3 cnv 15 450 15 empty empty empty 20 12 0 14 -233017 -66577
@@ -200,7 +200,7 @@ the model. Messages create links and masses or destroy them.;
links. They work as general links except their calculation is made
following a vector.;
#X restore 12 377 pd creation____________;
-#N canvas 64 189 1143 866 dynamic 0;
+#N canvas 60 189 1143 866 dynamic 0;
#X obj 5 3 cnv 15 1050 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 5 84 cnv 15 150 750 empty empty empty 20 12 0 14 -233017 -66577
@@ -339,7 +339,7 @@ uses this argument as the value applied to all masses (or links);
;
#X restore 12 397 pd dynamic settings ___;
#X text 158 397 To set the model parameters after creation.;
-#N canvas 153 264 1157 693 masses_attributes 0;
+#N canvas 147 279 1157 693 masses_attributes 0;
#X obj 5 95 cnv 15 500 15 empty empty empty 20 12 0 14 -158509 -66577
0;
#X obj 5 3 cnv 15 500 15 empty empty empty 20 12 0 14 -233017 -66577
@@ -364,16 +364,13 @@ No 1;
#X text 206 627 \$1 (optional): Masses Id;
#X text 769 383 \$2 (optional): Masses Id;
#X text 768 370 \$1 : table name;
-#X obj 551 431 cnv 15 170 110 empty empty empty 20 12 0 14 -233017
+#X obj 551 431 cnv 15 170 230 empty empty empty 20 12 0 14 -233017
-66577 0;
#X obj 549 409 cnv 15 590 15 empty empty empty 20 12 0 14 -158509 -66577
0;
#X text 730 438 output the closest mass;
#X text 552 409 others :;
-#X text 764 454 \$1 : x -position;
-#X text 764 469 \$2 : y -position;
-#X text 764 484 \$3 : z -position;
-#X text 764 496 \$4 : none or Id;
+#X text 764 499 \$4 : none or Id;
#X msg 9 125 massPos [\$1];
#X text 191 246 \$1 : id float or symbol of masses (nothing for all)
;
@@ -385,8 +382,8 @@ No 1;
#X msg 9 206 massForce [\$1];
#X text 195 218 massPos symbolId number forceX forceY forceZ;
#X msg 9 165 massSpeed [\$1];
-#X msg 560 517 massDistance [\$1 [\$2]];
-#X text 757 533 distance mass1 mass2 distanceX \, distanceY \, distanceZ
+#X msg 560 627 massDistance [\$1 [\$2]];
+#X text 757 643 distance mass1 mass2 distanceX \, distanceY \, distanceZ
\, distance;
#X msg 8 306 massPosL [\$1];
#X msg 8 325 massPosXL [\$1];
@@ -408,16 +405,6 @@ No 1;
#X msg 575 76 massPosYT \$1 [\$2];
#X msg 575 95 massPosZT \$1 [\$2];
#X msg 554 114 massPosNormT \$1 [\$2];
-#X msg 556 152 massSpeedsT \$1 [\$2];
-#X msg 556 171 massSpeedsXT \$1 [\$2];
-#X msg 576 190 massSpeedsYT \$1 [\$2];
-#X msg 576 209 massSpeedsZT \$1 [\$2];
-#X msg 556 228 massSpeedsNormT \$1 [\$2];
-#X msg 557 259 massForcesT \$1 [\$2];
-#X msg 556 278 massForcesXT \$1 [\$2];
-#X msg 576 297 massForcesYT \$1 [\$2];
-#X msg 576 316 massForcesZT \$1 [\$2];
-#X msg 556 335 massSpeedsNormT \$1 [\$2];
#X msg 558 439 closestMass \$1 \$2 \$3 [\$4];
#X text 548 5 tables out :;
#X text 15 30 The attributes messages ask the object to output some
@@ -450,9 +437,29 @@ No 1;
;
#X text 732 335 Output all norm of forces vectors (sqrt(x*x+y*y)) in
a list on outlet No 1;
-#X text 725 518 output a series of messages :;
+#X text 725 628 output a series of messages :;
+#X msg 556 152 massSpeedT \$1 [\$2];
+#X msg 556 171 massSpeedXT \$1 [\$2];
+#X msg 576 190 massSpeedYT \$1 [\$2];
+#X msg 576 209 massSpeedZT \$1 [\$2];
+#X msg 556 228 massSpeedNormT \$1 [\$2];
+#X msg 557 259 massForceT \$1 [\$2];
+#X msg 556 278 massForceXT \$1 [\$2];
+#X msg 576 297 massForceYT \$1 [\$2];
+#X msg 576 316 massForceZT \$1 [\$2];
+#X msg 556 335 massSpeedNormT \$1 [\$2];
+#X text 730 518 output the closest mass;
+#X text 764 537 \$1 : number of closest mass to output;
+#X msg 558 519 closestMassN \$1 \$2 \$3 [\$4];
+#X text 764 454 \$1 : x position;
+#X text 764 469 \$2 : y position;
+#X text 764 484 \$3 : z position;
+#X text 764 552 \$2 : x position;
+#X text 764 567 \$3 : y position;
+#X text 764 582 \$4 : z position;
+#X text 764 596 \$5 : none or Id;
#X restore 12 417 pd masses_attributes __;
-#N canvas 162 129 1167 755 links_attributes 0;
+#N canvas 160 134 1167 755 links_attributes 0;
#X obj 5 3 cnv 15 550 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 8 260 cnv 15 170 450 empty empty empty 20 12 0 14 -233017 -66577
@@ -819,8 +826,8 @@ defining the characteristic step by step.;
#X text 416 133 1 Create window;
#X msg 318 211 forceZ 1 30;
#X msg 318 233 forceX mob 10;
-#N canvas 54 321 735 607 tests 0;
-#X text 183 522 Id \$1 / forceSup \$1 / forceInf \$1 / forceXSup \$1
+#N canvas 672 253 780 683 tests 0;
+#X text 183 612 Id \$1 / forceSup \$1 / forceInf \$1 / forceXSup \$1
/ forceXInf \$1 / forceYSup \$1 / forceYInf \$1 / forceZSup \$1 / forceZInf
\$1 / lengthSup \$1 / lengthInf \$1 / lengthXSup \$1 / lengthXInf \$1
/ lengthYSup \$1 / lengthYInf \$1 / lengthZSup \$1 / lengthZInf \$1
@@ -828,14 +835,14 @@ defining the characteristic step by step.;
#X obj 5 3 cnv 15 700 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 17 2 TESTS Messages;
-#X obj 5 45 cnv 15 330 150 empty empty empty 20 12 0 14 -233017 -66577
+#X obj 5 45 cnv 15 330 200 empty empty empty 20 12 0 14 -233017 -66577
0;
#X msg 16 50 testMass testId filterId filter_parametter ...;
#X text 377 69 testMass testId mass_number;
#X text 380 130 testMassL filterID 0/1 0/1 0/1 ...;
#X msg 15 155 testMassT tab_name filterId filter_parametter ...;
#X msg 14 99 testMassL testId filterId filter_parametter ....;
-#X text 52 213 masses test can be :;
+#X text 52 253 masses test can be :;
#X text 339 47 output a message for every mass that passes all the
tests:;
#X text 344 99 output a list with 0 or 1 for every mass depending on
@@ -845,24 +852,24 @@ all tests;
#X obj 4 24 cnv 15 700 15 empty empty empty 20 12 0 14 -158509 -66577
0;
#X text 17 24 masses :;
-#X obj 9 334 cnv 15 700 15 empty empty empty 20 12 0 14 -158509 -66577
-0;
-#X text 22 334 links :;
-#X obj 10 355 cnv 15 330 150 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X msg 17 364 testLink testId filterId filter_parametter ...;
-#X msg 16 414 testLinkL testId filterId filter_parametter ....;
-#X msg 17 465 testLinkT tab_name filterId filter_parametter ...;
-#X text 377 384 testLink testId mass_number;
-#X text 377 449 testLinkL filterID 0/1 0/1 0/1 ...;
-#X text 58 523 links test can be :;
-#X text 345 364 output a message for every link that passes all the
+#X obj 9 374 cnv 15 700 15 empty empty empty 20 12 0 14 -158509 -66577
+0;
+#X text 22 374 links :;
+#X obj 10 395 cnv 15 330 200 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X msg 17 404 testLink testId filterId filter_parametter ...;
+#X msg 16 454 testLinkL testId filterId filter_parametter ....;
+#X msg 17 505 testLinkT tab_name filterId filter_parametter ...;
+#X text 377 424 testLink testId mass_number;
+#X text 377 489 testLinkL filterID 0/1 0/1 0/1 ...;
+#X text 58 613 links test can be :;
+#X text 345 404 output a message for every link that passes all the
tests:;
-#X text 346 417 output a list with 0 or 1 for every link depending
+#X text 346 457 output a list with 0 or 1 for every link depending
on whether it passes all tests or not;
-#X text 346 468 Put in a table 0 or 1 depending on whether links pass
+#X text 346 508 Put in a table 0 or 1 depending on whether links pass
all tests;
-#X text 182 214 Id \$1 / posXSup \$1 / posXInf \$1 / posYSup \$1 /
+#X text 182 254 Id \$1 / posXSup \$1 / posXInf \$1 / posYSup \$1 /
posYInf \$1 / posZSup \$1 / posZInf \$1 / speedXSup \$1 / speedXInf
\$1 / speedYSup \$1 / speedYInf \$1 / speedZSup \$1 / speedZInf \$1
/ speedSup \$1 / speedInf \$1 / distanceCircleSup \$1 \$2 \$3 \$4 (centerX
@@ -872,110 +879,117 @@ posYInf \$1 / posZSup \$1 / posZInf \$1 / speedXSup \$1 / speedXInf
forceYSup \$1 / forceYInf \$1 / forceZSup \$1 / forceZInf \$1 / nbLinkInf
\$1 / nbLinkSup \$1 / nbLinkEqual \$1 / nbLinkNameInf \$1 \$2 / nbLinkNameSup
\$1 \$2 / nbLinkNameEqual \$1 \$2, f 86;
+#X msg 15 205 testMassN massnumber filterId filter_parametter ...;
+#X text 346 207 output : testMassN \, mass_id \, mass_number \, 0 or
+1 (test result);
+#X msg 17 555 testLinkT link_number filterId filter_parametter ...
+;
+#X text 346 556 output : testLinkN \, link_id \, link_number \, 0 or
+1 (test result);
#X restore 12 457 pd tests ______________;
#X text 158 458 To test specific parametters;
-#N canvas 403 545 627 463 interactors 0;
-#X obj 8 -87 cnv 15 360 450 empty empty empty 20 12 0 14 -233017 -66577
+#N canvas 401 550 627 463 interactors 0;
+#X obj 8 3 cnv 15 360 450 empty empty empty 20 12 0 14 -233017 -66577
0;
-#X msg 20 -75 iCylinder \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8 \$9 [\$10 [\$11
+#X msg 20 15 iCylinder \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8 \$9 [\$10 [\$11
[\$12 [\$13 [\$14]]]]];
-#X text 54 -39 \$1 : mess Id (float or symbol) to apply this interactor
+#X text 54 51 \$1 : mess Id (float or symbol) to apply this interactor
;
-#X text 54 -26 \$2 \$3 \$4 : center of the cylinder;
-#X text 54 -12 \$5 \$6 \$7 : center vector of the cylinder;
-#X text 54 12 \$9 : K;
-#X text 53 25 \$10 : power of the force;
-#X text 53 37 \$11 : K tengential;
-#X text 53 49 \$12 : power of the tengential force;
-#X text 53 61 \$13 : minimum radius of the interactor;
-#X text 52 73 \$14 : maximum radius of the interactor;
-#X text 53 153 \$5 \$6 \$7 : one point of the plane;
-#X text 53 167 \$8 : K;
-#X text 53 181 \$9 : power of the force;
-#X text 52 195 \$10 : minimum profund of the interactor;
-#X text 52 210 \$11 : maximum profund of the interactor;
-#X msg 21 101 iPlane \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8 [\$9 [\$10 [\$11]]]
+#X text 54 64 \$2 \$3 \$4 : center of the cylinder;
+#X text 54 78 \$5 \$6 \$7 : center vector of the cylinder;
+#X text 54 102 \$9 : K;
+#X text 53 115 \$10 : power of the force;
+#X text 53 127 \$11 : K tengential;
+#X text 53 139 \$12 : power of the tengential force;
+#X text 53 151 \$13 : minimum radius of the interactor;
+#X text 52 163 \$14 : maximum radius of the interactor;
+#X text 53 243 \$5 \$6 \$7 : one point of the plane;
+#X text 53 257 \$8 : K;
+#X text 53 271 \$9 : power of the force;
+#X text 52 285 \$10 : minimum profund of the interactor;
+#X text 52 300 \$11 : maximum profund of the interactor;
+#X msg 21 191 iPlane \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8 [\$9 [\$10 [\$11]]]
;
-#X text 53 252 \$1 : mess Id (float or symbol) to apply this interactor
+#X text 53 342 \$1 : mess Id (float or symbol) to apply this interactor
;
-#X text 53 265 \$2 \$3 \$4 : center of the sphere;
-#X text 54 0 \$8 : cylinder radius;
-#X text 53 280 \$5 : cylinder radius;
-#X text 53 294 \$6 : K;
-#X text 53 309 \$7 : power of the force;
-#X text 53 323 \$8 : minimum radius of the interactor;
-#X text 52 337 \$9 : maximum radius of the interactor;
-#X msg 22 235 iSphere \$1 \$2 \$3 \$4 \$5 \$6 [\$7 [\$8 [\$9]]];
-#X text 54 125 \$1 : mass Id (float or symbol) to apply this interactor
+#X text 53 355 \$2 \$3 \$4 : center of the sphere;
+#X text 54 90 \$8 : cylinder radius;
+#X text 53 370 \$5 : cylinder radius;
+#X text 53 384 \$6 : K;
+#X text 53 399 \$7 : power of the force;
+#X text 53 413 \$8 : minimum radius of the interactor;
+#X text 52 427 \$9 : maximum radius of the interactor;
+#X msg 22 325 iSphere \$1 \$2 \$3 \$4 \$5 \$6 [\$7 [\$8 [\$9]]];
+#X text 54 215 \$1 : mass Id (float or symbol) to apply this interactor
;
-#X text 378 -71 add a cylindrer interactor to masses;
-#X text 377 100 add a plane interactor to masses;
-#X text 375 231 add a dpherical interactor to masses;
-#X text 54 138 \$2 \$3 \$4 : vector perpendicular to the plane;
+#X text 378 19 add a cylindrer interactor to masses;
+#X text 377 190 add a plane interactor to masses;
+#X text 375 321 add a dpherical interactor to masses;
+#X text 54 228 \$2 \$3 \$4 : vector perpendicular to the plane;
#X restore 12 476 pd interactors ________;
-#N canvas 1012 207 621 608 statistics 0;
-#X obj -61 51 cnv 15 150 210 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X obj -61 31 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
-0;
-#X text 370 242 \$1 : none or Id;
-#X msg -56 64 massPosMean;
-#X msg -56 87 massPosStd \$1;
-#X msg -55 116 massForceMean;
-#X msg -55 144 massForceStd \$1;
-#X msg -54 168 massSpeedMean;
-#X msg -55 193 massSpeedStd \$1;
-#X text 95 64 output the average position of masses and center distance
+#N canvas 1010 212 621 608 statistics 0;
+#X obj 19 51 cnv 15 150 210 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X obj 19 31 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
+0;
+#X text 450 242 \$1 : none or Id;
+#X msg 24 64 massPosMean;
+#X msg 24 87 massPosStd \$1;
+#X msg 25 116 massForceMean;
+#X msg 25 144 massForceStd \$1;
+#X msg 26 168 massSpeedMean;
+#X msg 25 193 massSpeedStd \$1;
+#X text 175 64 output the average position of masses and center distance
;
-#X text 95 169 output the average velocity of masses (X \, Y \, Z \,
-Norm);
-#X text -48 31 masses :;
-#X obj -61 291 cnv 15 150 280 empty empty empty 20 12 0 14 -233017
--66577 0;
-#X obj -61 271 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
-0;
-#X msg -53 328 linkPosStd \$1;
-#X msg -53 381 linkLengthStd \$1;
-#X msg -53 438 linkPosSpeedStd \$1;
-#X text 288 572 \$1 : none or Id;
-#X msg -52 502 linkLengthSpeedStd \$1;
-#X msg -53 298 linkPosMean \$1;
-#X msg -53 354 linkLengthMean \$1;
-#X msg -53 408 linkPosSpeedMean \$1;
-#X msg -53 472 linkLengthSpeedMean \$1;
-#X text 98 406 output the average center position velocity of links
+#X text 175 169 output the average velocity of masses (X \, Y \, Z
+\, Norm);
+#X text 32 31 masses :;
+#X obj 19 291 cnv 15 150 280 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X obj 19 271 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577
+0;
+#X msg 27 328 linkPosStd \$1;
+#X msg 27 381 linkLengthStd \$1;
+#X msg 27 438 linkPosSpeedStd \$1;
+#X text 368 572 \$1 : none or Id;
+#X msg 28 502 linkLengthSpeedStd \$1;
+#X msg 27 298 linkPosMean \$1;
+#X msg 27 354 linkLengthMean \$1;
+#X msg 27 408 linkPosSpeedMean \$1;
+#X msg 27 472 linkLengthSpeedMean \$1;
+#X text 178 406 output the average center position velocity of links
(X \, Y \, Z \, Norm);
-#X text -48 271 links :;
-#X text 95 86 output the standard deviation of mass positions and center
-distance;
-#X text 96 113 output the average force applied to masses (X \, Y \,
-Z and Norm);
-#X text 96 143 output the standard deviation of mass forces;
-#X text 95 193 output the standard deviation of mass velocities;
-#X text 98 298 output the average position of link centers (X \, Y
+#X text 32 271 links :;
+#X text 175 86 output the standard deviation of mass positions and
+center distance;
+#X text 176 113 output the average force applied to masses (X \, Y
+\, Z and Norm);
+#X text 176 143 output the standard deviation of mass forces;
+#X text 175 193 output the standard deviation of mass velocities;
+#X text 178 298 output the average position of link centers (X \, Y
\, Z \, center disdance);
-#X text 99 330 output the standard deviation of link center positions
+#X text 179 330 output the standard deviation of link center positions
;
-#X text 98 355 output the average links lengths (X \, Y \, Z \, L)
+#X text 178 355 output the average links lengths (X \, Y \, Z \, L)
;
-#X text 99 380 output the standard deviation of link lengths;
-#X text 98 438 output the standard deviation of link center position
+#X text 179 380 output the standard deviation of link lengths;
+#X text 178 438 output the standard deviation of link center position
velocities;
-#X text 98 473 output the average change in link lengths (X \, Y \,
+#X text 178 473 output the average change in link lengths (X \, Y \,
Z \, Norm);
-#X text 101 501 output the standard deviation of link lengths change
+#X text 181 501 output the standard deviation of link lengths change
;
-#X obj -61 9 cnv 15 550 15 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X text -49 8 STATISTICS Messages;
-#X msg -54 216 massInfo \$1;
-#X msg -51 527 linkInfo \$1;
-#X msg -54 242 massNumber \$1;
-#X msg -51 548 linkNumber;
-#X text 96 216 output various information on the masses;
-#X text 97 244 output the number of masses;
-#X text 102 527 output various information on the links;
-#X text 103 550 output the number of links;
+#X obj 19 9 cnv 15 550 15 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X text 31 8 STATISTICS Messages;
+#X msg 26 216 massInfo \$1;
+#X msg 29 527 linkInfo \$1;
+#X msg 26 242 massNumber \$1;
+#X msg 29 548 linkNumber;
+#X text 176 216 output various information on the masses;
+#X text 177 244 output the number of masses;
+#X text 182 527 output various information on the links;
+#X text 183 550 output the number of links;
#X restore 13 496 pd statistics _________;
#X text 158 477 To send complex forces;
#X text 157 498 To get statistical data of the simulation;