summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/tng_io.c5
-rw-r--r--src/lib/tng_io_fortran.c2
-rw-r--r--src/tests/tng_io_read_pos.c2
-rw-r--r--src/tests/tng_io_read_pos_util.c2
-rw-r--r--src/tests/tng_io_testing.c2
-rw-r--r--src/tests/tng_parallel_read.c2
6 files changed, 2 insertions, 13 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c
index c906f10..83ea162 100644
--- a/src/lib/tng_io.c
+++ b/src/lib/tng_io.c
@@ -1,7 +1,5 @@
/* This code is part of the tng binary trajectory format.
*
- * VERSION 1.5
- *
* Written by Magnus Lundborg
* Copyright (c) 2012-2013, The GROMACS development team.
* Check out http://www.gromacs.org for more information.
@@ -27,6 +25,7 @@
#include "../../include/tng_io.h"
#include "../../include/md5.h"
#include "../../include/compression/tng_compress.h"
+#include "../include/version.h"
struct tng_bond {
@@ -744,7 +743,7 @@ static tng_function_status tng_block_init(struct tng_gen_block **block_p)
/* Reset the md5_hash */
memcpy(block->md5_hash, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", TNG_MD5_HASH_LEN);
block->name = 0;
- block->block_version = TNG_VERSION;
+ block->block_version = TNG_API_VERSION;
block->header_contents = 0;
block->header_contents_size = 0;
block->block_contents = 0;
diff --git a/src/lib/tng_io_fortran.c b/src/lib/tng_io_fortran.c
index baceef7..d53d15b 100644
--- a/src/lib/tng_io_fortran.c
+++ b/src/lib/tng_io_fortran.c
@@ -1,7 +1,5 @@
/* This code is part of the tng binary trajectory format.
*
- * VERSION 1.5
- *
* Written by Magnus Lundborg
* Copyright (c) 2012-2013, The GROMACS development team.
* Check out http://www.gromacs.org for more information.
diff --git a/src/tests/tng_io_read_pos.c b/src/tests/tng_io_read_pos.c
index 079cad7..2a0bb09 100644
--- a/src/tests/tng_io_read_pos.c
+++ b/src/tests/tng_io_read_pos.c
@@ -1,7 +1,5 @@
/* This code is part of the tng binary trajectory format.
*
- * VERSION 1.0
- *
* Written by Magnus Lundborg
* Copyright (c) 2012-2013, The GROMACS development team.
* check out http://www.gromacs.org for more information.
diff --git a/src/tests/tng_io_read_pos_util.c b/src/tests/tng_io_read_pos_util.c
index 64df9df..1667bae 100644
--- a/src/tests/tng_io_read_pos_util.c
+++ b/src/tests/tng_io_read_pos_util.c
@@ -2,8 +2,6 @@
*
* The high-level API of the TNG API is used where appropriate.
*
- * VERSION 1.0
- *
* Written by Magnus Lundborg
* Copyright (c) 2012-2013, The GROMACS development team.
* Check out http://www.gromacs.org for more information.
diff --git a/src/tests/tng_io_testing.c b/src/tests/tng_io_testing.c
index 973ac4f..17718d0 100644
--- a/src/tests/tng_io_testing.c
+++ b/src/tests/tng_io_testing.c
@@ -1,7 +1,5 @@
/* This code is part of the tng binary trajectory format.
*
- * VERSION 1.0
- *
* Written by Magnus Lundborg
* Copyright (c) 2012-2013, The GROMACS development team.
* Check out http://www.gromacs.org for more information.
diff --git a/src/tests/tng_parallel_read.c b/src/tests/tng_parallel_read.c
index 95d1c9a..e2e23c6 100644
--- a/src/tests/tng_parallel_read.c
+++ b/src/tests/tng_parallel_read.c
@@ -2,8 +2,6 @@
/* This code is part of the tng binary trajectory format.
*
- * VERSION 1.0
- *
* Written by Magnus Lundborg
* Copyright (c) 2012-2013, The GROMACS development team.
* Check out http://www.gromacs.org for more information.
contact: Jan Huwald // Impressum