Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SuckerEnergy.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file core/scoring/methods/SuckerEnergy.hh
11 /// @brief energy attracting atoms to sucker atoms
12 /// @author Will Sheffler
13 
14 
15 #ifndef INCLUDED_core_scoring_methods_SuckerEnergy_hh
16 #define INCLUDED_core_scoring_methods_SuckerEnergy_hh
17 
18 // Unit Headers
20 
21 // Package headers
24 
25 #include <numeric/interpolation/spline/Interpolator.hh>
26 
27 // Project headers
28 #include <core/pose/Pose.fwd.hh>
30 
31 #include <utility/vector1.hh>
32 
33 
34 // Utility headers
35 
36 
37 namespace core {
38 namespace scoring {
39 namespace methods {
40 
41 ///
43 public:
45 public:
46 
47  ///
48  SuckerEnergy();
49  ~SuckerEnergy();
50 
51 
52  /// clone
53  virtual
55  clone() const;
56 
57 
58  /////////////////////////////////////////////////////////////////////////////
59  // scoring
60  /////////////////////////////////////////////////////////////////////////////
61 
62  virtual
63  void
65  conformation::Residue const & rsd1,
66  conformation::Residue const & rsd2,
67  pose::Pose const & pose,
68  ScoreFunction const & scorefxn,
69  EnergyMap & emap
70  ) const;
71 
72 
73  virtual
74  void
76  id::AtomID const & atom_id,
77  pose::Pose const & pose,
78  kinematics::DomainMap const & domain_map,
79  ScoreFunction const &,
80  EnergyMap const & weights,
81  Vector & F1,
82  Vector & F2
83  ) const;
84 
85 
86  virtual
87  Distance
89 
90  /// @details non-virtual accessor for speed
91  Distance
92  interaction_cutoff() const;
93 
94 
95  virtual
96  void indicate_required_context_graphs( utility::vector1< bool > & context_graphs_required ) const;
97 
98  virtual
99  bool
100  defines_intrares_energy( EnergyMap const & /*weights*/ ) const {
101  return true;
102  }
103 
104  virtual
105  void
107  conformation::Residue const & rsd,
108  pose::Pose const & pose,
109  ScoreFunction const & sfxn,
110  EnergyMap & emap
111  ) const;
112 
113 
114  /////////////////////////////////////////////////////////////////////////////
115  // data
116  /////////////////////////////////////////////////////////////////////////////
117 
118 private:
119 
120  numeric::interpolation::spline::InterpolatorOP interp_;
121 virtual
122 core::Size version() const;
123 
124 };
125 
126 
127 }
128 }
129 }
130 
131 #endif // INCLUDED_core_scoring_ScoreFunction_HH