Age | Commit message (Collapse) | Author |
|
Almost all of this code has been created by Stephan Richter
<s.richter@keawe.de>. Only minor changes and this squashed commit have
been prepared by Jan Huwald <jh@sotun.de>.
|
|
Change-Id: I0b49d2651851dc29d4dd8781e115f7648cfc95c2
|
|
Change-Id: I983333cc30b2d3add0b5a35e29b5d67736927cd4
|
|
Change-Id: I5b196b57976c8c718b079336a805188ccb03ef4b
|
|
Change-Id: I548a5f0a5d0e79777d96474b46a29c4caf5c416e
|
|
When setting the overall expected number of frames per frame set
also update the current frame set if there is one. It is OK to
have frame sets with different numbers of frames, so previous
frame sets are unaffected.
Change-Id: I2051243dfb589810b4073e251281261797c8aa74
|
|
Corresponds to commit e8cba2b9001c5930ed9d52e0be7ff53a2b00b22c
by Roland Schulz in the GROMACS repo.
Change-Id: Icb2c5b8ce823ffeed4145a9fd415c4624d15de2e
|
|
Change-Id: I981f2c4b0ce0b853f5362566b75ccf53bb0591db
|
|
Change-Id: I8f133d330b611a34c38addcd3bcb8c579882440d
|
|
The function already existed in the tng_io.c, but has now
been exposed through the API. Basic code for testing it was
added as well.
Version bumped to 1.7.0
Change-Id: Ia276ce3c7c9225f5d0d07eb6e3cd4cea6b882d24
|
|
Combined tng_data_block_add and tng_particle_data_block_add
into tng_gen_data_block_add. The original functions were
exposed by the API and are therefore still kept without any
changes to the outside world. Both are calling the new
tng_gen_data_block_add function.
Change-Id: I110994715075d63359170f5f860400c56e9816e6
|
|
When reading a block append parts that cannot be interpreted
(if any) to the MD5 sum. This was done in each block reading
function, but has now been moved to a function of its own.
Change-Id: I74d076449cfcb66785a3c3d526763cde5485572f
|
|
Change-Id: I25f8d8154f0f6356a08782d260ee8bb335beb645
|
|
Also fixed bugs in tng_trajectory_init_from_src.
Change-Id: Iaa44e79f388b7add79973165801ab3dba57b3dcf
|
|
Change-Id: I2b9a5960f9dad2974ade1c734e2ac0d0987db9ee
|
|
Combined tng_data_interval_get and tng_particle_data_interval_get
into tng_gen_data_interval_get as well as
tng_data_vector_interval_get and
tng_particle_data_vector_interval_get into
tng_gen_data_vector_interval_get. The original functions were
exposed by the API and are therefore still kept without any
changes to the outside world. They are now calling the new
functions.
Change-Id: I866bada8cca6e2c80699a2ff4892052da43e5fce
|
|
Combined tng_data_vector_get and tng_particle_data_vector_get
into tng_gen_data_vector_get. The original functions were
exposed by the API and are therefore still kept without any
changes to the outside world. Both are calling the new
tng_gen_data_vector_get function.
Change-Id: I747d89b694021ede6fdd8deaac6d9cd7839c4fde
|
|
Combined tng_data_get and tng_particle_data_get
into tng_gen_data_get. The original functions were
exposed by the API and are therefore still kept without any
changes to the outside world. Both are calling the new
tng_gen_data_get function.
Change-Id: Ibd07fc7f584560b412b54ba5911ac7c92ad50646
|
|
Combined tng_frame_data_write and tng_frame_particle_data_write
into tng_frame_gen_data_write. The original functions were
exposed by the API and are therefore still kept without any
changes to the outside world. Both are calling the new
tng_frame_gen_data_write function.
Change-Id: Icbb1bea2bbd232f24bc80749503696d5483f4dbb
|
|
The above two functions were merged to handle both particle and
non-particle data.
Change-Id: Id43c72c54e550e5c9b89ab9981ee162adb74e1ce
|
|
The above two functions were merged to handle both particle and
non-particle data.
Change-Id: Ib5f9dd4ec1e1e4710979d613a9b12380cbc6594d
|
|
Where there used to be two separate variables for the different
data block structs use only one, where relevant.
Change-Id: Ibf8b7235041295e9f1aac349eacda6d3177ed29d
|
|
Handle frame and particle dependency using the flag in the
struct.
Change-Id: I020fd5c6cff131da9df3506dde822c74a2113f5b
|
|
Change-Id: If75c9301e02bf7da888fb273bb8e3ba7ec516472
|
|
This addresses earlier suggestions to avoid unnecessary repetitions
by making functions. New functions for reading and writing strings
and numerical data.
Also uses size_t for length of strings in many places.
Improved documentation of some functions.
Bumped version to 1.6.3
Change-Id: Id0c53b87a753c60b03cdbf35fb5bc58cfdd60705
|
|
Corresponds to the TNG modifications in Roland's commit
c6cebcc190cd in the GROMACS repository.
Change-Id: I44288fc8a69c4c69c9444e663b57cc773e243516
|
|
Alos check that there are bonds in a molecule before trying to
reserve memory for them.
Change-Id: I3b541f32e2945f7b2bbe6a9c10bf47feb0a8094f
|
|
There were unmotivated differences between
tng_util_generic_double_write() and tng_util_generic_write(),
which were fixed.
Also fixed a typo in print statement in tng_data_read().
Change-Id: I86f93e5ae649343ce17bbffae136b8b5d4939377
|
|
Also fixed a bug where position and velocity compression
algorithms were mixed up.
Change-Id: Ia52351e0099b2f156ffdc974eef62fb9f548eb4c
|
|
Change-Id: I63eb5a7205b751228b498851fc4ce0a6b78f7857
|
|
Make it possible to determine how many frames there are containing
a data of a specific ID.
Change-Id: I0e2d9e0584b74fdad40bcf4849289d9946319bba
|
|
Some of the utility functions read data of a certain type. Checks
are added to ensure the data type of the block is float if using
a function to read float data.
Change-Id: I1ae6ced70545388c8d1a38f13f62fd773fd65d22
|
|
Do not read and write data blocks in whole chunks. Read and
write value by value and do the md5 summing in steps.
This hopefully avoids memory alignment problems reported
on ARM architectures.
Fixed a bug freeing trajectory mapping memory.
Change-Id: I3438b3d3faf5349dcd477a31cfb4bacf236ed582
|
|
Change-Id: I132d22f4e7e7dbdea14351e2e813a391590d58b9
|
|
tng_num_frame_sets_get() should not fail if there are no frame sets.
Change-Id: Ie01a6b3230af7413a51ba144bd03c5fe00c25519
|
|
Added functions to get the version of the header and the
library.
Improved version control of the library using CMake config and
version files.
Changed tng_util_frame_current_compression_get() return type
to double before the API is widely circulated (no release
has been made since that function was added).
Compiling compression functions into the tng_io library.
Uses BuildTNG.cmake instead of including add_subdirectories.
Change-Id: I5e4818736fb2632c06ca7df8e84ce9544bf2acaf
|
|
Change-Id: If2b6ffad5cec9dd687afcbe1ce4c11bbc62c88fc
|
|
Leave that responsibility to the caller to speed things up.
Change-Id: Ide4741d0ad7461bf600766cbc49ad3b5e781fd9e
|
|
Always set the residues in the chain when adding residues.
Change-Id: I785b829ab3ae68fa5ac39ba2accf02ce22a03fab
|
|
Change-Id: I242b6a38ed20d3340f66e4208fc3e4f7ca1b71f1
|
|
Change-Id: I4248f3ba571754a8fe620b9cc239d2d241c341a8
|
|
Change-Id: Ibce6352de35b0b258f547816cf295d0089e2c284
|
|
If blocks are migrated there will be empty space in the file.
This is handled by this commit.
Change-Id: I15733e56d5ba937a87f28fd181871088e282b673
|
|
Change-Id: Ie6ecf260acf0bd80674ab825bcd51fddb54626ab
|
|
Now it should be possible to modify e.g. the general info block
and move frame sets to make room for more data.
Change-Id: I28875a9c6891a396f80f7bb1490c3d6db58dc7a4
|
|
Also updated copyright dates in tng_io.h.
Change-Id: I59b93d3d73d34be7a9af2efafeb2ec4ee97cfb62
|
|
Also includes some simple tests to verify that it is working.
Change-Id: I6d465000a6fd202d53af033d7e839bfecdccc068
|
|
These changes mostly address being able to use fully-constructed
source-file targets in GROMACS, e.g. to construct an object
library. Thus compilation properties are moved onto the source files,
rather than the library into which they are linked.
Removed unnecessary library properties
Made it easier to handle lists of source files in non-repetitious
ways.
Change-Id: I01a4a56ba8a8d45ba02d95d08c948b9ca5015013
|
|
TNG_VERSION was renamed to TNG_API_VERSION which is configured
through API_VERSION in CMakeLists.txt.
Updated the header to 2014.
Change-Id: I6a37825cd1d236927ac0e21a797abc4e98f7ce59
|
|
Also do not check what data blocks are present if that
has already been done.
Change-Id: Idda85c94c0fbaa1ae08cb358cf5d062aa125c391
|