summaryrefslogtreecommitdiff
path: root/src/tests
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-08-20Removed compiling of tng_io_gen_versioned_output.cMagnus Lundborg
These lines should not have been committed before. The source files was not committed. Change-Id: I1f27d026018379f76b52817e04071998a12227ec
2014-07-23Improved TNG compression speed.Magnus Lundborg
Change-Id: I71c66c6b534cb402048dcd75e008d3db4bd3fb71
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-03-04Updated path to tng header files.Magnus Lundborg
Change-Id: I8793ad7c3da4cc40c919167dbf3ce5a9ac3ce27e
2014-02-12Remove OpenMP option.Magnus Lundborg
It was only used for building some of the examples. Now, those example are only built if OpenMP is found. Change-Id: I816a52595fb00bb729adce83477f8e2f35dd6761
2014-02-04Cleaned up unused and non-portable /tmp invocations.Rossen Apostolov
2014-01-14One more include path fixed.Magnus Lundborg
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-12-16Remove some unused variables.Magnus Lundborg
2013-12-16Copy example_files dir to the bin/tests directory.Magnus Lundborg
2013-11-29Improved tests and removed some parts of tests.Magnus Lundborg
2013-11-29Make all testing code define USE_STD_INTTYPES_H to print properly.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-25Split the fortran wrapper into another file.Magnus Lundborg
Do not keep the fortran wrapper in the main tng_io.c file.
2013-10-22Changed path for generated header files.Magnus Lundborg
Always generate header files (to avoid cppcheck errors). Fixed cppcheck error py using ++ prefix instead of suffix.
2013-10-18Fix spacing.Magnus Lundborg
2013-10-17Include inttypes.hMagnus Lundborg
2013-10-16Fixed message when using the wrong nr arguments.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-15Changed signature of tng_util_*_with_time_write to use double.Magnus Lundborg
Minor fixes.
2013-10-15Only compile openmp code if explicitly requested.Magnus Lundborg
2013-10-15Fix some more compiler warningsMagnus Lundborg
2013-10-15Fix compiler warnings.Magnus Lundborg
2013-10-15Remove wrong compiler flags.Magnus Lundborg
2013-10-14Fix includes.Magnus Lundborg
2013-10-14Add option to build TNG testing binary.Magnus Lundborg
2013-10-14Change CMake parameter names to specifically include TNG.Magnus Lundborg
2013-10-11Fixing many llvm clang warnings.Magnus Lundborg
2013-10-11Fix errors caused by previous project name change.Magnus Lundborg
2013-10-08Fixing bugs reading data.Magnus Lundborg
Also make compression slightly faster.
2013-10-04Improved examples.Magnus Lundborg
2013-08-22Submit char instead of tng_data_type from examples.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-29Improved documentationMagnus Lundborg
contact: Jan Huwald // Impressum