summaryrefslogtreecommitdiff
path: root/src/tests/tng_io_testing.c
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-01-11 08:43:14 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-01-11 08:43:14 (GMT)
commit881dd64fcda884e36ac6d3e5acc88b72d639bf8e (patch)
treead5beae8e9d249429559f7160d83d10c19aeca3a /src/tests/tng_io_testing.c
parent98abaab0c1eaafede2769907a8a1b836ce8770d6 (diff)
Added comments to static functions. Minor comments. Changed some function parameters to be more consequent.
Diffstat (limited to 'src/tests/tng_io_testing.c')
-rw-r--r--src/tests/tng_io_testing.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/tests/tng_io_testing.c b/src/tests/tng_io_testing.c
index 4b95c38..03edb41 100644
--- a/src/tests/tng_io_testing.c
+++ b/src/tests/tng_io_testing.c
@@ -433,7 +433,7 @@ tng_function_status tng_test_get_box_data(tng_trajectory_t traj)
// printf("\n");
// }
- tng_data_values_free(values, n_frames, n_values_per_frame, type);
+ tng_data_values_free(traj, values, n_frames, n_values_per_frame, type);
return(TNG_SUCCESS);
}
@@ -473,7 +473,7 @@ tng_function_status tng_test_get_positions_data(tng_trajectory_t traj)
// }
// }
- tng_particle_data_values_free(values, n_frames, n_particles,
+ tng_particle_data_values_free(traj, values, n_frames, n_particles,
n_values_per_frame, type);
values = 0;
@@ -482,7 +482,10 @@ tng_function_status tng_test_get_positions_data(tng_trajectory_t traj)
TNG_SKIP_HASH, &values, &n_particles,
&n_values_per_frame, &type);
- tng_particle_data_values_free(values, 500, n_particles, n_values_per_frame, type);
+ /* Here the particle positions can be printed */
+
+ tng_particle_data_values_free(traj, values, 500, n_particles,
+ n_values_per_frame, type);
return(TNG_SUCCESS);
}
contact: Jan Huwald // Impressum