diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-01-25 11:04:49 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-01-25 11:04:49 +0000 |
commit | 4f3f338f6766d2e182c8d67d0c01036f233b417f (patch) | |
tree | 3517e44a47136f245b4194e8558a405b7af87354 | |
parent | 39c93c9ece2cf2dba365f297b180fd1158a59935 (diff) |
more verbose (number of link / masses)
svn path=/trunk/externals/pmpd/; revision=17250
-rw-r--r-- | pmpd2d_various.c | 4 | ||||
-rw-r--r-- | pmpd3d_various.c | 4 | ||||
-rw-r--r-- | pmpd_various.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/pmpd2d_various.c b/pmpd2d_various.c index b7cf879..2e90cd1 100644 --- a/pmpd2d_various.c +++ b/pmpd2d_various.c @@ -1,7 +1,7 @@ void pmpd2d_infosL(t_pmpd2d *x) { int i; - post("list of mass"); + post("list of %d mass", x->nb_mass); post("number, Id, mobile, mass, damping, positionX Y, speedX Y, forcesX Y"); for(i=0; i < x->nb_mass; i++) { @@ -10,7 +10,7 @@ void pmpd2d_infosL(t_pmpd2d *x) x->mass[i].speedX, x->mass[i].speedY, x->mass[i].forceX, x->mass[i].forceY ); } - post("list of link"); + post("list of %d link", x->nb_link); post("number, Id, active, mass1, mass2, K, D, Pow, L, Lmin, Lmax"); for(i=0; i < x->nb_link; i++) { diff --git a/pmpd3d_various.c b/pmpd3d_various.c index 35fb984..cb316db 100644 --- a/pmpd3d_various.c +++ b/pmpd3d_various.c @@ -1,7 +1,7 @@ void pmpd3d_infosL(t_pmpd3d *x) { t_int i; - post("list of mass"); + post("list of %d mass", x->nb_mass); post("number, Id, mobile, mass, Damping, positionX Y Z, speedX Y Z, forcesX Y Z"); for(i=0; i < x->nb_mass; i++) { @@ -11,7 +11,7 @@ void pmpd3d_infosL(t_pmpd3d *x) x->mass[i].forceX, x->mass[i].forceY, x->mass[i].forceZ ); } - post("list of link"); + post("list of %d link", x->nb_link); post("number, Id, mass1, mass2, K, D, Pow, L, Lmin, Lmax"); for(i=0; i < x->nb_link; i++) { diff --git a/pmpd_various.c b/pmpd_various.c index a368ecc..eeaf95b 100644 --- a/pmpd_various.c +++ b/pmpd_various.c @@ -1,14 +1,14 @@ void pmpd_infosL(t_pmpd *x) { int i; - post("list of mass"); + post("list of %d mass", x->nb_mass); post("number, Id, mobile, mass, Damping, position, speed, forces"); for(i=0; i < x->nb_mass; i++) { post("masse %i: %s, %d, %f, %f, %f, %f, %f",i, x->mass[i].Id->s_name, x->mass[i].mobile, 1/x->mass[i].invM, x->mass[i].D2, x->mass[i].posX, x->mass[i].speedX, x->mass[i].forceX ); } - post("list of link"); + post("list of %d link", x->nb_link); post("number, Id, mass1, mass2, K, D, Pow, L, Lmin, Lmax"); for(i=0; i < x->nb_link; i++) { |