Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_FullAtomStackingEnergy.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_FullAtomStacking.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_FullAtomStackingEnergy_HH
17 #define INCLUDED_core_scoring_rna_RNA_FullAtomStackingEnergy_HH
18 
19 // Unit Headers
21 
22 // Package headers
24 
25 // Project headers
26 #include <core/pose/Pose.fwd.hh>
27 
28 //Auto Headers
29 #include <utility/vector1.hh>
30 #include <numeric/xyzMatrix.fwd.hh>
31 
32 
33 
34 namespace core {
35 namespace scoring {
36 namespace rna {
37 
39 
40 ///
41 
43 public:
45 
46 public:
47 
48  ///
50 
51 
52  /// clone
53  virtual
55  clone() const;
56 
57  /////////////////////////////////////////////////////////////////////////////
58  // scoring
59  /////////////////////////////////////////////////////////////////////////////
60 
61  virtual
62  void
63  setup_for_scoring( pose::Pose & pose, ScoreFunction const & ) const;
64 
65  virtual
66  void
67  setup_for_derivatives( pose::Pose & pose, ScoreFunction const & ) const;
68 
69  virtual
70  void
72  conformation::Residue const & rsd1,
73  conformation::Residue const & rsd2,
74  pose::Pose const & pose,
75  ScoreFunction const &,
76  EnergyMap & emap
77  ) const;
78 
79  virtual
80  void
82  conformation::Residue const &,
83  pose::Pose const &,
84  ScoreFunction const &,
85  EnergyMap &
86  ) const {}
87 
88 
89  virtual
90  void
92  id::AtomID const & atom_id,
93  pose::Pose const & pose,
94  kinematics::DomainMap const & domain_map,
95  ScoreFunction const &,
96  EnergyMap const & weights,
97  Vector & F1,
98  Vector & F2
99  ) const;
100 
101  virtual
102  bool
103  defines_intrares_energy( EnergyMap const & /*weights*/ ) const { return false; }
104 
105  virtual
106  void
108  pose::Pose & pose,
109  ScoreFunction const &,
110  EnergyMap &// totals
111  ) const;
112 
113  virtual
114  Distance
116 
117  virtual
119 
120 
121  /////////////////////////////////////////////////////////////////////////////
122  // data
123  /////////////////////////////////////////////////////////////////////////////
124 
125 private:
126 
127  // Real
128  // get_fa_stack_score( Distance const dist, Real const cos_kappa ) const;
129 
130  Real
131  get_fa_stack_score( Vector const r_vec, Matrix const M_i ) const;
132 
133  Vector
134  get_fa_stack_deriv( Vector const r_vec, Matrix const M_i ) const;
135 
136  Real
138  conformation::Residue const & rsd1,
139  conformation::Residue const & rsd2,
140  pose::Pose const & pose,
141  Real & score_aro
142  ) const;
143 
144  bool
146  conformation::Residue const & rsd1,
147  conformation::Residue const & rsd2,
148  Size const & m, Size const & n ) const;
149 
150  bool
151  is_aro(
152  conformation::Residue const & rsd1,
153  Size const & m ) const;
154 
155  virtual
156  core::Size version() const;
157 
162  bool const base_base_only_;
163 
164 };
165 
166 
167 }
168 }
169 }
170 
171 #endif // INCLUDED_core_scoring_ScoreFunction_HH