/** * \file IMP/misc/SoftCylinderPairScore.h * \brief A Score on the distance between a pair of particles. * * Copyright 2007-2013 IMP Inventors. All rights reserved. */ #ifndef IMPMISC_SOFT_CYLINDER_PAIR_SCORE_H #define IMPMISC_SOFT_CYLINDER_PAIR_SCORE_H #include #include #include #include #include IMPMISC_BEGIN_NAMESPACE //! Apply a function to the distance between the cylinders defined by two bonds. /** The two endpoints of the bond must have the same radius and that is used for the radius of the cylinder connecting them. */ class IMPMISCEXPORT SoftCylinderPairScore : public PairScore { double k_; public: SoftCylinderPairScore(double k); IMP_PAIR_SCORE(SoftCylinderPairScore); }; IMPMISC_END_NAMESPACE #endif /* IMPMISC_SOFT_CYLINDER_PAIR_SCORE_H */