Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GaussianOverlapEnergy.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/GaussianOverlapEnergy.hh
11 /// @brief energy of overlaps
12 /// @author ben
13 
14 
15 #ifndef INCLUDED_core_scoring_methods_GaussianOverlapEnergy_hh
16 #define INCLUDED_core_scoring_methods_GaussianOverlapEnergy_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 // Utility headers
32 
33 
34 namespace core {
35 namespace scoring {
36 namespace methods {
37 
38 ///
40 public:
42 public:
43 
44  ///
47 
48 
49  /// clone
50  virtual
52  clone() const;
53 
54 
55  /////////////////////////////////////////////////////////////////////////////
56  // scoring
57  /////////////////////////////////////////////////////////////////////////////
58 
59  virtual
60  void
62  conformation::Residue const & rsd1,
63  conformation::Residue const & rsd2,
64  pose::Pose const & pose,
65  ScoreFunction const & scorefxn,
66  EnergyMap & emap
67  ) const;
68 
69 
70  virtual
71  void
73  id::AtomID const & atom_id,
74  pose::Pose const & pose,
75  kinematics::DomainMap const & domain_map,
76  ScoreFunction const &,
77  EnergyMap const & weights,
78  Vector & F1,
79  Vector & F2
80  ) const;
81 
82 
83  virtual
84  Distance
86 
87  /// @details non-virtual accessor for speed
88  Distance
89  interaction_cutoff() const;
90 
91 
92  virtual
93  void indicate_required_context_graphs( utility::vector1< bool > & context_graphs_required ) const;
94 
95  virtual
96  bool
97  defines_intrares_energy( EnergyMap const & /*weights*/ ) const {
98  return true;
99  }
100 
101  virtual
102  void
104  conformation::Residue const & rsd,
105  pose::Pose const & pose,
106  ScoreFunction const & sfxn,
107  EnergyMap & emap
108  ) const;
109 
110 
111  /////////////////////////////////////////////////////////////////////////////
112  // data
113  /////////////////////////////////////////////////////////////////////////////
114 
115 private:
116 
117  numeric::interpolation::spline::InterpolatorOP interp_;
118 virtual
119 core::Size version() const;
120 
121 };
122 
123 
124 }
125 }
126 }
127 
128 #endif // INCLUDED_core_scoring_ScoreFunction_HH