Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MMBondAngleEnergy.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/MMBondAngleEnergy.hh
11 /// @brief molecular mechanics bond angle energy
12 /// @author Colin A. Smith (colin.smith@ucsf.edu)
13 
14 #ifndef INCLUDED_core_scoring_methods_MMBondAngleEnergy_hh
15 #define INCLUDED_core_scoring_methods_MMBondAngleEnergy_hh
16 
17 // Unit headers
20 
21 // Package headers
25 
27 
28 // Project headers
29 #include <core/pose/Pose.fwd.hh>
31 #include <core/types.hh>
32 
33 // C++ headers
34 #include <iostream>
35 
36 #include <utility/vector1.hh>
37 
38 
39 namespace core {
40 namespace scoring {
41 namespace methods {
42 
44 public:
46 public:
47 
48  ///
50 
51  ///
52  MMBondAngleEnergy( MMBondAngleEnergy const & src );
53 
55 
56  /// clone
57  virtual
59  clone() const;
60 
61  ///
62  virtual
63  void
65 
66  ///
67  virtual
68  void
69  setup_for_scoring( pose::Pose & pose, ScoreFunction const & ) const;
70 
71  ///
72  virtual
73  void
74  setup_for_derivatives( pose::Pose & pose, ScoreFunction const & ) const;
75 
76  ///
77  virtual
78  void
80  conformation::Residue const & rsd1,
81  conformation::Residue const & rsd2,
82  pose::Pose const & pose,
83  ScoreFunction const &,
84  EnergyMap & emap
85  ) const;
86 
87  virtual
88  bool
89  defines_intrares_energy( EnergyMap const & /*weights*/ ) const ;
90 
91  virtual
92  void
94  conformation::Residue const & rsd,
95  pose::Pose const & pose,
96  ScoreFunction const & sfxn,
97  EnergyMap & emap
98  ) const;
99 
100  virtual
101  void
103  id::AtomID const & id,
104  pose::Pose const & pose,
105  kinematics::DomainMap const & domain_map,
106  ScoreFunction const & sfxn,
107  EnergyMap const & emap,
108  Vector & F1,
109  Vector & F2
110  ) const;
111 
112 
113  /// @brief MMBondAngleEnergy does not have an atomic interation threshold
114  virtual
115  Distance
117 
118  /// @brief MMBondAngleEnergy is context independent; indicates that no
119  /// context graphs are required
120  virtual
122 
123  /// @brief set underlying MMBondAngleResidueTypeParamSet
124  void
126  param_set_ = param_set;
127  }
128 
129  /// @brief get underlying MMBondAngleResidueTypeParamSet
132  return param_set_;
133  }
134 
135  /// @brief get underlying MMBondAngleResidueTypeParamSet
138  return param_set_;
139  }
140 
141 private:
142  bool
144  core::chemical::ResidueType const & restype,
145  Size atomno
146  ) const;
147 
148 private:
152 virtual
153 core::Size version() const;
154 
155 };
156 
157 } // namespace methods
158 } // namespace scoring
159 } // namespace core
160 
161 
162 #endif // INCLUDED_core_scoring_methods_MMBondAngleEnergy_HH