Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_TorsionEnergy.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_TorsionEnergy.hh
11 /// @brief Statistically derived rotamer pair potential class declaration
12 /// @author Rhiju Das
13 
14 
15 #ifndef INCLUDED_core_scoring_rna_RNA_TorsionEnergy_HH
16 #define INCLUDED_core_scoring_rna_RNA_TorsionEnergy_HH
17 
18 // Unit Headers
20 
21 // Package headers
23 // AUTO-REMOVED #include <core/scoring/constraints/ConstraintSet.fwd.hh>
24 //#include <core/scoring/rna/RNA_TorsionPotential.fwd.hh>
26 
27 // Project headers
28 #include <core/pose/Pose.fwd.hh>
29 
30 // AUTO-REMOVED #include <map>
31 
32 #include <utility/vector1.hh>
33 
34 
35 // Utility headers
36 
37 
38 namespace core {
39 namespace scoring {
40 namespace rna {
41 
42 ///
44 public:
46 public:
47 
48  ///
50 
51  /// clone
52  virtual
54  clone() const;
55 
56  /////////////////////////////////////////////////////////////////////////////
57  // scoring
58  /////////////////////////////////////////////////////////////////////////////
59 
60  /// @brief Evaluate the intra-residue constraint energy for a given residue
61  virtual
62  void
64  conformation::Residue const & rsd,
65  pose::Pose const & pose,
66  ScoreFunction const &,
67  EnergyMap & emap
68  ) const;
69 
70  ///
71  virtual
72  void
74  conformation::Residue const & rsd1,
75  conformation::Residue const & rsd2,
76  pose::Pose const & pose,
77  ScoreFunction const &,
78  EnergyMap & emap
79  ) const;
80 
81  /// called during gradient-based minimization inside dfunc
82  /**
83  F1 and F2 are not zeroed -- contributions from this atom are
84  just summed in
85  **/
86  virtual
87  void
89  id::AtomID const & id,
90  pose::Pose const & pose,
91  kinematics::DomainMap const &, // domain_map,
92  ScoreFunction const & sfxn,
93  EnergyMap const & weights,
94  Vector & F1,
95  Vector & F2
96  ) const;
97 
98  bool
99  defines_intrares_energy( EnergyMap const & ) const { return true; }
100 
101  bool
102  defines_residue_pair_energy( EnergyMap const & ) const { return true; }
103 
104  virtual
105  Distance
107 
108  virtual
109  void indicate_required_context_graphs( utility::vector1< bool > & /*context_graphs_required*/ ) const;
110 
111  /////////////////////////////////////////////////////////////////////////////
112  // data
113  /////////////////////////////////////////////////////////////////////////////
114 
115 private:
116 
118 
119  virtual
120  core::Size version() const;
121 
122 };
123 
124 
125 }
126 }
127 }
128 
129 #endif // INCLUDED_core_scoring_ScoreFunction_HH