Add constraints test with multiple molecules
authorArtem Zhmurov <zhmurov@gmail.com>
Wed, 6 Oct 2021 16:54:32 +0000 (16:54 +0000)
committerAndrey Alekseenko <al42and@gmail.com>
Wed, 6 Oct 2021 16:54:32 +0000 (16:54 +0000)
commit506d37eb562bf850d4037089d5eb33458a4b8cd3
treeffe73275c27f0ac78ad787af67f512011048dcfb
parentb04301da4dfc926ecc8dada7e01ef6244ae8d97b
Add constraints test with multiple molecules

In the GPU code, there is a complex logic of splitting constraints
over the thread blocks so that no coupled constraints land in
different thread blocks. To test this logic, we need the system with
more atoms than the size of the thread block. This adds such a system
to the unit test. Three atom molecule is taken as a base system since
the number of threads in a block is usually a power of 2, hence not
a multiple of 3.
src/gromacs/mdlib/tests/constr.cpp
src/gromacs/mdlib/tests/refdata/WithParameters_ConstraintsTest_SatisfiesConstraints_12.xml [new file with mode: 0644]
src/gromacs/mdlib/tests/refdata/WithParameters_ConstraintsTest_SatisfiesConstraints_13.xml [new file with mode: 0644]