Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SmoothCenPairEnergy.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/SmoothCenPairEnergy.cc
11 /// @brief Smooth, differentiable, version of cenpair
12 /// @author Frank DiMaio
13 
14 
15 #ifndef INCLUDED_core_scoring_methods_SmoothCenPairEnergy_hh
16 #define INCLUDED_core_scoring_methods_SmoothCenPairEnergy_hh
17 
18 // Unit Headers
19 // AUTO-REMOVED #include <core/scoring/methods/EnvPairEnergy.fwd.hh>
20 
21 // Package headers
25 
26 
27 // Project headers
28 #include <core/pose/Pose.fwd.hh>
29 
30 // Utility headers
31 #include <utility/vector1.fwd.hh>
32 
33 #include <utility/vector1.hh>
34 
35 
36 
37 namespace core {
38 namespace scoring {
39 namespace methods {
40 
41 ///
43 public:
45 public:
46 
47  ///
49 
50 
51  /// clone
52  virtual
54  clone() const;
55 
56  /////////////////////////////////////////////////////////////////////////////
57  // scoring
58  /////////////////////////////////////////////////////////////////////////////
59 
60  virtual
61  void
62  setup_for_scoring( pose::Pose & pose, ScoreFunction const & ) const;
63 
64  virtual
65  void
67  conformation::Residue const & rsd1,
68  conformation::Residue const & rsd2,
69  pose::Pose const &, // pose,
70  ScoreFunction const &,
71  EnergyMap & emap
72  ) const;
73 
74 
75  virtual
76  void
78  pose::Pose & pose,
79  ScoreFunction const &,
80  EnergyMap &// totals
81  ) const;
82 
83  virtual
84  void
86  conformation::Residue const & rsd1,
87  conformation::Residue const & rsd2,
90  ResPairMinimizationData const & min_data,
91  pose::Pose const & pose, // provides context
92  EnergyMap const & weights,
93  utility::vector1< DerivVectorPair > & r1_atom_derivs,
95  ) const;
96 
97  /// This method *should* admit to defining intraresidue energies
98  virtual
99  bool
100  defines_intrares_energy( EnergyMap const & ) const { return false; }
101 
102  void
104  conformation::Residue const &,
105  pose::Pose const &,
106  ScoreFunction const &,
107  EnergyMap &
108  ) const {}
109 
110  virtual
111  Distance
113 
114  virtual
116 
117 
118  /////////////////////////////////////////////////////////////////////////////
119  // data
120  /////////////////////////////////////////////////////////////////////////////
121 
122 private:
123 
124  // const-ref to scoring database
126 virtual
127 core::Size version() const;
128 
129 };
130 
131 
132 }
133 }
134 }
135 
136 #endif // INCLUDED_core_scoring_ScoreFunction_HH