Fully define symbols in restraintpotential.h
commit6aaebd63d4c5552ce29a4d5eb977c22037d81f66
authorM. Eric Irrgang <ericirrgang@gmail.com>
Thu, 1 Nov 2018 10:40:41 +0000 (1 13:40 +0300)
committerPaul Bauer <paul.bauer.q@gmail.com>
Thu, 1 Nov 2018 14:49:09 +0000 (1 15:49 +0100)
treee43a2049ca97c61e45829cb43a119ef64eb018f3
parent56b66d5a2c5e037c1140df9546506acfb95f7b04
Fully define symbols in restraintpotential.h

External client code (i.e. an MD plugin) is expected to link against
libgmxapi, but not against libgromacs directly. This change allows
client code to implement gmx::IRestraintPotential using only GROMACS
installed headers, without relying on libgromacs to define methods in
gmx::PotentialPointData or gmx::IRestraintPotential.

Fixes #2725

Change-Id: I530c8b74d490645de25c722036be5387a4fc0a61
src/gromacs/restraint/restraintpotential.cpp
src/gromacs/restraint/restraintpotential.h