Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CSD_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/methods/CSD_TorsionEnergy.hh
11 ///
12 /// @brief
13 /// @author Ian W. Davis
14 /// @author Kristian Kaufmann
15 
16 
17 #ifndef INCLUDED_core_scoring_methods_CSD_TorsionEnergy_hh
18 #define INCLUDED_core_scoring_methods_CSD_TorsionEnergy_hh
19 
21 
23 
24 namespace core {
25 namespace scoring {
26 namespace methods {
27 
28 
29 ///@brief A knowledge-based torsional potential for small molecules
30 /// derived from the Cambridge Structural Database by KWK.
31 ///
32 ///@details Implemented as a two-body term to allow for torsions
33 /// between multi-residue ligands.
34 ///
36 {
37 public:
38 
40  virtual ~CSD_TorsionEnergy();
41 
42  /// clone
43  virtual
45  clone() const;
46 
47  /// setup for packing
48  virtual
49  void
51 
52  /// setup for scoring
53  virtual
54  void
55  setup_for_scoring( pose::Pose & pose, ScoreFunction const & ) const;
56 
57  /// setup for derivatives
58  virtual
59  void
60  setup_for_derivatives( pose::Pose & pose, ScoreFunction const & ) const;
61 
62  ///
63  virtual
64  void
66  conformation::Residue const & rsd1,
67  conformation::Residue const & rsd2,
68  pose::Pose const & pose,
69  ScoreFunction const &,
70  EnergyMap & emap
71  ) const;
72 
73  virtual
74  bool
75  defines_intrares_energy( EnergyMap const & ) const ;
76 
77  virtual
78  void
80  conformation::Residue const & rsd,
81  pose::Pose const & pose,
82  ScoreFunction const & sfxn,
83  EnergyMap & emap
84  ) const;
85 
86  virtual
87  Real
89  id::DOF_ID const & dof_id,
90  id::TorsionID const & tor_id,
91  pose::Pose const & pose,
92  ScoreFunction const & sfxn,
93  EnergyMap const & weights
94  ) const;
95 
96  /// @brief CSD_TorsionEnergy does not have an atomic interation threshold
97  virtual
98  Distance
100 
101  /// @brief CSD_TorsionEnergy is context independent; indicates that no
102  /// context graphs are required
103  virtual
105 
106 private:
107 
108 
109 }; // CSD_TorsionEnergy
110 
111 
112 } // namespace methods
113 } // namespace scoring
114 } // namespace core
115 
116 #endif // INCLUDED_core_scoring_methods_CSD_TorsionEnergy_HH