Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MMTorsionEnergy.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/MMTorsionEnergy.hh
11 /// @brief molecular mechanics torsion energy
12 /// @author P. Douglas Renfrew (renfrew@unc.edu)
13 
14 #ifndef INCLUDED_core_scoring_methods_MMTorsionEnergy_hh
15 #define INCLUDED_core_scoring_methods_MMTorsionEnergy_hh
16 
17 // Unit headers
21 
22 // Package headers
25 
26 // Project headers
27 #include <core/pose/Pose.fwd.hh>
29 #include <core/types.hh>
30 
31 // C++ headers
32 #include <iostream>
33 
34 #include <utility/vector1.hh>
35 
36 
37 namespace core {
38 namespace scoring {
39 namespace methods {
40 
42 public:
44 public:
45 
46  /// ctor
48 
49  /// clone
50  virtual
52  clone() const;
53 
54  /// setup for packing
55  virtual
56  void
58 
59  /// setup for scoring
60  virtual
61  void
62  setup_for_scoring( pose::Pose & pose, ScoreFunction const & ) const;
63 
64  /// setup for derivatives
65  virtual
66  void
67  setup_for_derivatives( pose::Pose & pose, ScoreFunction const & ) const;
68 
69  ///
70  virtual
71  void
73  conformation::Residue const & rsd1,
74  conformation::Residue const & rsd2,
75  pose::Pose const &,
76  ScoreFunction const &,
77  EnergyMap & emap
78  ) const;
79 
80  virtual
81  bool
82  defines_intrares_energy( EnergyMap const & ) const ;
83 
84  virtual
85  void
87  conformation::Residue const & rsd,
88  pose::Pose const &,
89  ScoreFunction const &,
90  EnergyMap & emap
91  ) const;
92 
93  /// @brief evaluate xyz derivatives (and not DOF derivatives)
94  /// for a particular atom.
95  virtual
96  void
98  id::AtomID const & id,
99  pose::Pose const & pose,
100  kinematics::DomainMap const & domain_map,
101  ScoreFunction const & sfxn,
102  EnergyMap const & emap,
103  Vector & F1,
104  Vector & F2
105  ) const;
106 
107 
108  /// @brief MMTorsionEnergy does not have an atomic interation threshold
109  virtual
110  Distance
112 
113  /// @brief MMTorsionEnergy is context independent; indicates that no
114  /// context graphs are required
115  virtual
117 
118 private:
120 virtual
121 core::Size version() const;
122 
123 };
124 
125 } // namespace methods
126 } // namespace scoring
127 } // namespace core
128 
129 
130 #endif // INCLUDED_core_scoring_methods_MMTorsionEnergy_HH