Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DunbrackEnergy.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/pack/dunbrack/DunbrackEnergy.hh
11 /// @brief
12 /// @author
13 
14 
15 #ifndef INCLUDED_core_pack_dunbrack_DunbrackEnergy_hh
16 #define INCLUDED_core_pack_dunbrack_DunbrackEnergy_hh
17 
18 // Unit headers
20 
21 // Package headers
24 
25 // Project headers
26 #include <core/pose/Pose.fwd.hh>
29 #include <core/id/DOF_ID.fwd.hh>
30 
31 #include <utility/vector1.hh>
32 
33 
34 namespace core {
35 namespace pack {
36 namespace dunbrack {
37 
38 ///
40 public:
43 
44 public:
45 
46  /// @brief ctor
48 
49  /// @brief dtor
50  virtual ~DunbrackEnergy();
51 
52  /// clone
53  virtual
55  clone() const;
56 
57  /////////////////////////////////////////////////////////////////////////////
58  // methods for ContextIndependentOneBodyEnergies
59  /////////////////////////////////////////////////////////////////////////////
60 
61  ///
62  virtual
63  void
65  conformation::Residue const & rsd,
66  pose::Pose const & pose,
67  scoring::EnergyMap & emap
68  ) const;
69 
70  bool
71  minimize_in_whole_structure_context( pose::Pose const & ) const { return false; }
72 
73  /// @brief Yes. The DunbrackEnergy defines derivatives
74  /// for phi/psi and the chi dihedrals.
75  virtual
76  bool
77  defines_dof_derivatives( pose::Pose const & p ) const;
78 
79  /// @brief Evaluate the phi/psi and chi dihedral derivatives
80  /// for the input residue.
81  Real
83  conformation::Residue const & rsd,
84  scoring::ResSingleMinimizationData const & min_data,
85  id::DOF_ID const & dof_id,
86  id::TorsionID const & torsion_id,
87  pose::Pose const & pose,
88  scoring::ScoreFunction const & sfxn,
89  scoring::EnergyMap const & weights
90  ) const;
91 
92  /// @brief Deprecated.
93  virtual
94  Real
96  id::DOF_ID const & dof_id,
97  id::TorsionID const & tor_id,
98  pose::Pose const & pose,
99  scoring::ScoreFunction const & sfxn,
100  scoring::EnergyMap const & weights
101  ) const;
102 
103  /// @brief DunbrackEnergy is context independent; indicates that no
104  /// context graphs are required
105  virtual
107 
108 
109  // data
110 private:
111  // changed to & so that it does not duplicate the dunbrack lib; arguably should be COP.
112  //RotamerLibrary const & rot_lib_;
113 
114  //mutable dunbrack::RotamerLibraryScratchSpaceOP scratch_;
115 virtual
116 core::Size version() const;
117 
118 };
119 
120 } // dunbrack
121 } // pack
122 } // core
123 
124 
125 #endif // INCLUDED_core_scoring_EtableEnergy_HH