BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
buriedPolar.h
Go to the documentation of this file.
1 // $Id: buriedPolar.h,v 1.3 2006/05/21 17:38:39 anker Exp $
2 // Molecular Mechanics: Fresno force field, lipophilic component
3 
4 #ifndef BALL_SCORING_COMPONENTS_FRESNOBURIEDPOLAR_H
5 #define BALL_SCORING_COMPONENTS_FRESNOBURIEDPOLAR_H
6 
8 
9 namespace BALL
10 {
11 
16  : public ScoringComponent
17  {
18 
19  public:
20 
23  struct Option
24  {
25 
28  static const char* BP_R1_OFFSET;
29 
32  static const char* BP_R2_OFFSET;
33 
36  static const char* CREATE_INTERACTIONS_FILE;
37 
40  static const char* VERBOSITY;
41 
42  };
43 
46  struct Default
47  {
48 
51  static const float BP_R1_OFFSET;
52 
55  static const float BP_R2_OFFSET;
56 
59  static const bool CREATE_INTERACTIONS_FILE;
60 
63  static const Size VERBOSITY;
64 
65  };
66 
67 
68 
72 
75  BuriedPolar()
76  ;
77 
81  ;
82 
85  BuriedPolar(const BuriedPolar& bp)
86  ;
87 
90  virtual ~BuriedPolar()
91  ;
92 
94 
97 
100  const BuriedPolar& operator = (const BuriedPolar& bp)
101  ;
102 
105  virtual void clear()
106  ;
107 
109 
112 
113  bool operator == (const BuriedPolar& bp) const
114  ;
115 
117 
120 
123  virtual bool setup()
124  ;
125 
127 
130 
133  virtual double calculateScore()
134  ;
135 
137 
138  private:
139 
140  /*_
141  */
142  std::vector< std::pair<const Atom*, const Atom*> > possible_buried_polar_interactions_;
143 
144  /*_
145  */
146  double factor_;
147 
148  /*_ This length will be added to the sum of the van-der-Waals radii for
149  obtaining the lower bound of the scoring function.
150  */
151  double r1_offset_;
152 
153  /*_ The upper bound for the scoring function is obtained by adding a
154  constant to the lower bound.
155  */
156  double r2_offset_;
157 
158  // The following two variables are only necessary if the buried polar
159  // component is meant to assign its own radii. They are unused at the
160  // moment.
161 
164 
167 
170 
173 
174  };
175 
176 } // namespace BALL
177 
178 #endif // BALL_SCORING_COMPONENTS_FRESNOBURIEDPOLAR_H