The tests for LINCS and SHAKE constraints.
authorArtem Zhmurov <zhmurov@gmail.com>
Fri, 7 Dec 2018 14:24:30 +0000 (15:24 +0100)
committerDavid van der Spoel <spoel@xray.bmc.uu.se>
Thu, 27 Dec 2018 17:32:00 +0000 (18:32 +0100)
commitefe24e89a240f2c77729b9fe942164899ae97544
tree6ff8e0e5a6e9d5dc12eaf2b54393a1ebef071258
parent597f0e7aa2bb90dab6c2e332e7c405b116a698a7
The tests for LINCS and SHAKE constraints.

The tests for LINCS are first introduced,
SHAKE tests are migrated here from a separate
file.

The tests are performed on simple systems of two
to four bonds as well as on the peptide of three
amino acids. The tests ensure that the final length
of each constrain is equal to the target length.
For the peptide tests with HBonds and AllBonds
constrained, there is an additional check that
the final coordinates of all atoms correspond to the
reference set of values.

Free energy evaluation, virial and velocity constraints
are not yet tested.

Change-Id: Ic3a5c73a7e3223c0b7aafde9a0947e89e611f7b8
src/gromacs/mdlib/shake.cpp
src/gromacs/mdlib/shake.h
src/gromacs/mdlib/tests/CMakeLists.txt
src/gromacs/mdlib/tests/constr.cpp [new file with mode: 0644]
src/gromacs/mdlib/tests/constrdata.h [new file with mode: 0644]