aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2014-01-22 20:20:22 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2014-01-22 20:20:22 +0000
commit661be9db623f5bf5f2a5bbe6e200802cc7cab18e (patch)
tree92f20beafe7c83e64356dcbd27a280085d1e1288
parentfe4c978ff20e2a7df5e8be384edb7616753da425 (diff)
small debug
svn path=/trunk/externals/pmpd/; revision=17244
-rw-r--r--pmpd2d_various.c8
-rw-r--r--pmpd3d_various.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/pmpd2d_various.c b/pmpd2d_various.c
index 32ee6e1..b7cf879 100644
--- a/pmpd2d_various.c
+++ b/pmpd2d_various.c
@@ -11,23 +11,23 @@ void pmpd2d_infosL(t_pmpd2d *x)
}
post("list of link");
- post("number, Id, mass1, mass2, K, D, Pow, L, Lmin, Lmax");
+ post("number, Id, active, mass1, mass2, K, D, Pow, L, Lmin, Lmax");
for(i=0; i < x->nb_link; i++)
{
switch(x->link[i].lType)
{
case 0 :
- post("link %i: %s, %i, %i, %f, %f, %f, %f, %f, %f", i, x->link[i].Id->s_name, \
+ post("link %i: %s, %i, %i, %i, %f, %f, %f, %f, %f, %f", i, x->link[i].Id->s_name, x->link[i].active, \
x->link[i].mass1->num, x->link[i].mass2->num, x->link[i].K, x->link[i].D, \
x->link[i].Pow, x->link[i].L, x->link[i].Lmin, x->link[i].Lmax);
break;
case 1 :
- post("tLink %i: %s, %i, %i, %f, %f, %f, %f, %f, %f, %f, %f", i, x->link[i].Id->s_name, \
+ post("tLink %i: %s, %i, %i, %i, %f, %f, %f, %f, %f, %f, %f, %f", i, x->link[i].Id->s_name, x->link[i].active, \
x->link[i].mass1->num, x->link[i].mass2->num, x->link[i].K, x->link[i].D, \
x->link[i].Pow, x->link[i].L, x->link[i].Lmin, x->link[i].Lmax, x->link[i].VX, x->link[i].VY);
break;
case 2 :
- post("tabLink %i: %s, %i, %i, %f, %f, %s, %f, %s, %f", i, x->link[i].Id->s_name, \
+ post("tabLink %i: %s, %i, %i, %i, %f, %f, %s, %f, %s, %f", i, x->link[i].Id->s_name, x->link[i].active, \
x->link[i].mass1->num, x->link[i].mass2->num, x->link[i].K, x->link[i].D, \
x->link[i].arrayK->s_name, x->link[i].K_L, x->link[i].arrayD->s_name, x->link[i].D_L);
break;
diff --git a/pmpd3d_various.c b/pmpd3d_various.c
index 3b1be8b..35fb984 100644
--- a/pmpd3d_various.c
+++ b/pmpd3d_various.c
@@ -18,18 +18,18 @@ void pmpd3d_infosL(t_pmpd3d *x)
switch (x->link[i].lType)
{
case 0:
- post("link %i: %s, %i, %i, %f, %f, %f, %f, %f, %f", i, x->link[i].Id->s_name, \
+ post("link %i: %s, %i, %i, %i, %f, %f, %f, %f, %f, %f", i, x->link[i].Id->s_name, x->link[i].active, \
x->link[i].mass1->num, x->link[i].mass2->num, x->link[i].K, x->link[i].D, \
x->link[i].Pow, x->link[i].L, x->link[i].Lmin, x->link[i].Lmax);
break;
case 1:
- post("tLink %i: %s, %i, %i, %f, %f, %f, %f, %f, %f, %f, %f, %f", i, x->link[i].Id->s_name, \
+ post("tLink %i: %s, %i, %i, %i, %f, %f, %f, %f, %f, %f, %f, %f, %f", i, x->link[i].Id->s_name, x->link[i].active, \
x->link[i].mass1->num, x->link[i].mass2->num, x->link[i].K, x->link[i].D, \
x->link[i].Pow, x->link[i].L, x->link[i].Lmin, x->link[i].Lmax, \
x->link[i].VX, x->link[i].VY, x->link[i].VZ);
break;
case 2:
- post("tabLink %i: %s, %i, %i, %f, %f, %s, %f, %s, %f", i, x->link[i].Id->s_name, \
+ post("tabLink %i: %s, %i, %i, %i, %f, %f, %s, %f, %s, %f", i, x->link[i].Id->s_name, x->link[i].active, \
x->link[i].mass1->num, x->link[i].mass2->num, x->link[i].K, x->link[i].D, \
x->link[i].arrayK->s_name, x->link[i].K_L, x->link[i].arrayD->s_name, x->link[i].D_L);
break;