IMP
2.0.1
The Integrative Modeling Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
SoftCylinderPairScore.h
Go to the documentation of this file.
1
/**
2
* \file IMP/misc/SoftCylinderPairScore.h
3
* \brief A Score on the distance between a pair of particles.
4
*
5
* Copyright 2007-2013 IMP Inventors. All rights reserved.
6
*/
7
8
#ifndef IMPMISC_SOFT_CYLINDER_PAIR_SCORE_H
9
#define IMPMISC_SOFT_CYLINDER_PAIR_SCORE_H
10
11
#include <IMP/misc/misc_config.h>
12
#include <
IMP/PairScore.h
>
13
#include <
IMP/UnaryFunction.h
>
14
#include <
IMP/Pointer.h
>
15
#include <
IMP/pair_macros.h
>
16
17
IMPMISC_BEGIN_NAMESPACE
18
19
//! Apply a function to the distance between the cylinders defined by two bonds.
20
/** The two endpoints of the bond must have the same radius and that is used
21
for the radius of the cylinder connecting them.
22
*/
23
class
IMPMISCEXPORT
SoftCylinderPairScore
:
public
PairScore
24
{
25
double
k_;
26
public
:
27
SoftCylinderPairScore
(
double
k);
28
IMP_PAIR_SCORE
(
SoftCylinderPairScore
);
29
};
30
31
IMPMISC_END_NAMESPACE
32
33
#endif
/* IMPMISC_SOFT_CYLINDER_PAIR_SCORE_H */