Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_PairwiseLowResolutionEnergy.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/rna/RNA_PairwiseLowResolutionEnergy.hh
11 /// @brief Statistically derived rotamer pair potential class declaration
12 /// @author Phil Bradley
13 /// @author Rhiju Das
14 
15 
16 #ifndef INCLUDED_core_scoring_rna_RNA_PairwiseLowResolutionEnergy_hh
17 #define INCLUDED_core_scoring_rna_RNA_PairwiseLowResolutionEnergy_hh
18 
19 // Unit Headers
21 
22 // Package headers
25 // AUTO-REMOVED #include <core/scoring/rna/RNA_RawBaseBaseInfo.hh>
27 // AUTO-REMOVED #include <core/kinematics/Stub.hh>
28 
29 // Project headers
30 #include <core/pose/Pose.fwd.hh>
31 
33 #include <utility/vector1.hh>
34 
35 
36 // Utility headers
37 
38 
39 namespace core {
40 namespace scoring {
41 namespace rna {
42 
43 ///
44 
46 public:
48 public:
49 
50  ///
52 
53 
54  /// clone
55  virtual
57  clone() const;
58 
59  /////////////////////////////////////////////////////////////////////////////
60  // scoring
61  /////////////////////////////////////////////////////////////////////////////
62 
63  virtual
64  void
65  setup_for_scoring( pose::Pose & pose, ScoreFunction const & ) const;
66 
67  virtual
68  void
69  setup_for_derivatives( pose::Pose & pose, ScoreFunction const & ) const;
70 
71  virtual
72  void
73  setup_for_packing( pose::Pose & pose, utility::vector1< bool > const &, utility::vector1< bool > const & designing_residues ) const;
74 
75  virtual
76  void
78  conformation::Residue const & rsd1,
79  conformation::Residue const & rsd2,
80  pose::Pose const & pose,
81  ScoreFunction const &,
82  EnergyMap & emap
83  ) const;
84 
85  virtual
86  void
88  conformation::Residue const &,
89  pose::Pose const &,
90  ScoreFunction const &,
91  EnergyMap &
92  ) const {}
93 
94  virtual
95  void
97  id::AtomID const & atom_id,
98  pose::Pose const & pose,
99  kinematics::DomainMap const & domain_map,
100  ScoreFunction const & scorefxn,
101  EnergyMap const & weights,
102  Vector & F1,
103  Vector & F2
104  ) const;
105 
106  virtual
107  bool
108  defines_intrares_energy( EnergyMap const & /*weights*/ ) const { return false; }
109 
110  virtual
111  void
113  pose::Pose & pose,
114  ScoreFunction const &,
115  EnergyMap &// totals
116  ) const;
117 
118  virtual
119  Distance
121 
122  virtual
124 
125 
126  /////////////////////////////////////////////////////////////////////////////
127  // data
128  /////////////////////////////////////////////////////////////////////////////
129 
130 private:
131  void
133  conformation::Residue const & rsd1,
134  conformation::Residue const & rsd2,
135  pose::Pose const & pose,
136  Vector & centroid1,
137  Vector & centroid2,
138  kinematics::Stub & stub1,
139  kinematics::Stub & stub2 ) const;
140 
141  //Need to get rid of the following...
142  Real
144  conformation::Residue const & rsd1,
145  conformation::Residue const & rsd2
146  ) const;
147 
148  Real
150  conformation::Residue const & rsd1,
151  conformation::Residue const & rsd2
152  ) const;
153 
154  Real
156  conformation::Residue const & rsd1,
157  conformation::Residue const & rsd2
158  ) const;
159 
160  Real
162  conformation::Residue const & rsd1,
163  conformation::Residue const & rsd2
164  ) const;
165 
166  Real
168  conformation::Residue const & rsd1,
169  conformation::Residue const & rsd2
170  ) const;
171 
172  void
174  scoring::rna::RNA_RawBaseBaseInfo & raw_base_base_info,
175  pose::Pose & pose ) const;
176 
177 private:
178 
179  // const-ref to scoring database
182  mutable bool might_be_designing_;
183 virtual
184 core::Size version() const;
185 
186 };
187 
188 
189 }
190 }
191 }
192 
193 #endif // INCLUDED_core_scoring_ScoreFunction_HH