Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MMBondLengthEnergy.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/MMBondLengthEnergy.hh
11 /// @brief Molecular mechanics bond length score class
12 /// @author Frank DiMaio (based on Colin Smith's MMBondAngle potential)
13 
14 #ifndef INCLUDED_core_scoring_methods_MMBondLengthEnergy_hh
15 #define INCLUDED_core_scoring_methods_MMBondLengthEnergy_hh
16 
17 // Package headers
21 
23 
24 // Project headers
25 #include <core/pose/Pose.fwd.hh>
27 #include <core/types.hh>
28 
29 // C++ headers
30 #include <iostream>
31 
32 #include <utility/vector1.hh>
33 
34 
35 namespace core {
36 namespace scoring {
37 namespace methods {
38 
40 public:
42 public:
43 
44  ///
46 
47  ///
49 
51 
52  /// clone
53  virtual
55  clone() const;
56 
57  ///
58  virtual
59  void
61 
62  ///
63  virtual
64  void
65  setup_for_scoring( pose::Pose & pose, ScoreFunction const & ) const;
66 
67  ///
68  virtual
69  void
70  setup_for_derivatives( pose::Pose & pose, ScoreFunction const & ) const;
71 
72  ///
73  virtual
74  void
76  conformation::Residue const & rsd1,
77  conformation::Residue const & rsd2,
78  pose::Pose const & pose,
79  ScoreFunction const &,
80  EnergyMap & emap
81  ) const;
82 
83  virtual
84  bool
85  defines_intrares_energy( EnergyMap const & /*weights*/ ) const ;
86 
87  virtual
88  void
90  conformation::Residue const & rsd,
91  pose::Pose const & pose,
92  ScoreFunction const & sfxn,
93  EnergyMap & emap
94  ) const;
95 
96  virtual
97  void
99  id::AtomID const & id,
100  pose::Pose const & pose,
101  kinematics::DomainMap const & domain_map,
102  ScoreFunction const & sfxn,
103  EnergyMap const & emap,
104  Vector & F1,
105  Vector & F2
106  ) const;
107 
108 
109  /// @brief MMBondLengthEnergy does not have an atomic interation threshold
110  virtual
111  Distance
113 
114  /// @brief MMBondLengthEnergy is context independent; indicates that no
115  /// context graphs are required
116  virtual
118 
119 private:
121 
122  virtual core::Size version() const;
123 
124 };
125 
126 } // namespace methods
127 } // namespace scoring
128 } // namespace core
129 
130 
131 #endif // INCLUDED_core_scoring_methods_MMBondLengthEnergy_HH