summaryrefslogtreecommitdiff
path: root/src/tests/tng_io_testing.c
AgeCommit message (Collapse)Author
2016-01-11Changes to TNG to include the HRTC format.HEADmasterJan Huwald
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>.
2014-10-23Added tng_util_num_frames_with_data_of_block_id_get()Magnus Lundborg
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: I369678a69787223b7a979feb749dff4ef0ee4717
2014-10-03More detailed output when some tests fail.Magnus Lundborg
Change-Id: I749db2adcfef0fd79d39beeab700310856f33563
2014-09-26Added tng_util_num_frames_with_data_of_block_id_get()Magnus Lundborg
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
2014-09-24Added new test (copy trajectory container and molsys)Magnus Lundborg
Also fixed bugs in tng_trajectory_init_from_src. Change-Id: Iaa44e79f388b7add79973165801ab3dba57b3dcf
2014-09-24Improved testing output.Magnus Lundborg
Print the test when it is starting and print success/failure when it is finished. Change-Id: I01b13ec88a9478108155334da1a7d25ece025ca5
2014-09-24Only free memory once.Magnus Lundborg
Since there is a problem with tng_particle_data_values_free it is better to free the memory only once. It will not be re-reserved anyhow. Change-Id: Ibef28820bee10e39f00ea0d4f1ee27fafdea6d23
2014-09-19Improved checks to verify that read data is correct.Magnus Lundborg
Change-Id: I9136c2a78bbd4cad380521779139933a936c4af1
2014-08-25Improved testsMagnus Lundborg
Test writing double velocities using utility functions. Change-Id: Ibbf141db75ec502db1d10f4280f0047ccc8367dc
2014-07-21Improved testing of TNG functions.Magnus Lundborg
The coverage of the testing suite is improved. Better checks to verify that the data is what is expected. Change-Id: I294779456fee2da2e3617de985d23d2f42f09f56
2014-07-17Rewrite of file i/o.Magnus Lundborg
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
2014-06-26Version 1.6 of the TNG library.Magnus Lundborg
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
2014-06-16Migrating data blocks [WIP].Magnus Lundborg
Also includes some simple tests to verify that it is working. Change-Id: I6d465000a6fd202d53af033d7e839bfecdccc068
2014-06-16Added project and API versions to CMakeLists.txt.Rossen Apostolov
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
2014-02-04Cleaned up unused and non-portable /tmp invocations.Rossen Apostolov
2014-01-14Use relative paths for includes.Magnus Lundborg
2014-01-10Do not automatically clear particle mappings when adding new frame set.Magnus Lundborg
Make tng_frame_set_particle_mappings_free() public.
2013-11-29Improved tests and removed some parts of tests.Magnus Lundborg
2013-11-27Removed generated include files defining dirs of example files.Magnus Lundborg
2013-11-04Changed from LGPL 2.1 license to the Revised BSD license.Magnus Lundborg
2013-10-15Specifically typed min and max functions.Magnus Lundborg
Explicitly compare signed and unsigned in many places to avoid warnings.
2013-10-15Fix some more compiler warningsMagnus Lundborg
2013-10-14Fix includes.Magnus Lundborg
2013-10-11Fixing many llvm clang warnings.Magnus Lundborg
2013-08-20Use char instead of enum to avoid endianness problemsMagnus Lundborg
2013-06-25Added test of utility opening and closing.Magnus Lundborg
Open and close file using utility functions. More tests of the high-level API will be added.
2013-05-22New functions added (mainly utility functions).Magnus Lundborg
New functions to simplify the work flow added. Not everything is fully tested yet. More commits to follow.
2013-03-19If inttypes is not found (Visual Studio) some typedefs and defines need to ↵Magnus Lundborg
be done
2013-03-13Add gzip compression and uncompression to master branch.Magnus Lundborg
2013-02-08Add a standard block ID for partial charges.Magnus Lundborg
2013-01-24Fix copyright notice. In practice reverting commit ↵Magnus Lundborg
75505b10abc097c123c427b5df553839383bf0d1
2013-01-23Minor updates in copyright notice. Fixes in documentation index page.Magnus Lundborg
2013-01-23Updated copyright notice.Magnus Lundborg
2013-01-21Include licence info.Magnus Lundborg
2013-01-18Write annotations block in test write/read.Magnus Lundborg
2013-01-18Write partial charges in test write/readMagnus Lundborg
2013-01-18Fix bug in test read/write file (not writing frame sets). Write box shape in ↵Magnus Lundborg
test write/read file.
2013-01-11Added comments to static functions. Minor comments. Changed some function ↵Magnus Lundborg
parameters to be more consequent.
2013-01-08Automatically add frame sets if trying to write frame data beyond the last ↵Magnus Lundborg
frame set. Minor fixes.
2013-01-07Additional example using a very light md implementation using openmp. Data ↵Magnus Lundborg
is saved during simulation.
2013-01-07Removed unused variableMagnus Lundborg
2013-01-07Removed input and output file positions from tng_trajectory struct.Magnus Lundborg
2012-12-26Improved comments in the testing code.Magnus Lundborg
2012-12-26Specify hash mode as function argument in data interval retrieval functions.Magnus Lundborg
2012-12-21Make data writing work for one frame at a time. Other minor fixes.Magnus Lundborg
2012-12-19Get particle data from frame range.Magnus Lundborg
2012-12-19Major changes. Do more memory managements in the API. Changes in some ↵Magnus Lundborg
function arguments.
2012-12-14Fix bug in particle data retrieval. Some speedups.Magnus Lundborg
2012-12-14Copy example files to build directory and set constants to find themMagnus Lundborg
2012-12-13Add, read and write particle mapping should work now.Magnus Lundborg
contact: Jan Huwald // Impressum