Refactor Leap-Frog tests and connect them to CPU version
authorArtem Zhmurov <zhmurov@gmail.com>
Tue, 30 Jul 2019 14:30:45 +0000 (16:30 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 8 Aug 2019 09:13:34 +0000 (11:13 +0200)
commitb1be1e72847908ff3cb3ef85900dac4191bdb4e9
tree958c867f1065b1a30b0ed23e630adecf886505f2
parent8b0ce9f55a2560c05f89fec04c9c6238387bf526
Refactor Leap-Frog tests and connect them to CPU version

This introduces test data object and runners to the Leap-Frog
tests, which are now connected to the CPU version of Leap-Frog.
This also makes possible to include tests based on the reference
values, which are needed to make sure that the temperature and(or)
pressure control works fine in new implementations.

Refs. #2816, #2888.

Change-Id: Id2d934c43138889ad178a94126cab4da2895bb5a
src/gromacs/mdlib/tests/CMakeLists.txt
src/gromacs/mdlib/tests/leapfrog.cpp
src/gromacs/mdlib/tests/leapfrogtestdata.cpp [new file with mode: 0644]
src/gromacs/mdlib/tests/leapfrogtestdata.h [new file with mode: 0644]
src/gromacs/mdlib/tests/leapfrogtestrunners.cpp [new file with mode: 0644]
src/gromacs/mdlib/tests/leapfrogtestrunners.cu [moved from src/gromacs/mdlib/tests/leapfrog.cu with 63% similarity]
src/gromacs/mdlib/tests/leapfrogtestrunners.h [moved from src/gromacs/mdlib/tests/leapfrogtest.h with 68% similarity]