summaryrefslogtreecommitdiff
path: root/src/tests/md_openmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/md_openmp.c')
-rw-r--r--src/tests/md_openmp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tests/md_openmp.c b/src/tests/md_openmp.c
index 596d80d..b432462 100644
--- a/src/tests/md_openmp.c
+++ b/src/tests/md_openmp.c
@@ -80,7 +80,7 @@ int main ( int argc, char *argv[] )
int step_print_index;
int step_print_num;
int step_save;
- int sparse_save;
+ int64_t sparse_save;
double *vel;
double wtime;
tng_trajectory_t traj;
@@ -269,7 +269,10 @@ int main ( int argc, char *argv[] )
printf("Error adding data. %s: %d\n", __FILE__, __LINE__);
exit(1);
}
- /* There is no standard ID for potential energy. Pick one. */
+
+ /* There is no standard ID for potential energy. Pick one. The
+ potential energy will not be saved every frame - it is sparsely
+ saved. */
if(tng_data_block_add(traj, 10101,
"POTENTIAL ENERGY",
TNG_DOUBLE_DATA,
contact: Jan Huwald // Impressum