Commit 05f94ca0 authored by Jonathan Jenkins's avatar Jonathan Jenkins

debug prints

parent 8a2236ed
......@@ -434,6 +434,12 @@ static void torus_init( nodes_state * s,
// calculate my torus coords
to_dim_id(codes_mapping_get_lp_relative_id(lp->gid, 0, 1),
s->params->n_dims, s->params->dim_length, s->dim_position);
/* DEBUG
printf("%lu: my coords:", lp->gid);
for (i = 0; i < p->n_dims; i++)
printf(" %d", s->dim_position[i]);
printf("\n");
*/
int temp_dim_pos[ p->n_dims ];
for ( i = 0; i < p->n_dims; i++ )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment