Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RamachandranEnergy.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/RamachandranEnergy.hh
11 /// @brief Ramachandran energy method class declaration
12 /// @author Phil Bradley
13 
14 
15 #ifndef INCLUDED_core_scoring_methods_RamachandranEnergy_hh
16 #define INCLUDED_core_scoring_methods_RamachandranEnergy_hh
17 
18 // Unit headers
20 
21 // Package headers
26 #include <core/id/DOF_ID.fwd.hh>
27 
28 #include <utility/vector1.hh>
29 
30 
31 
32 namespace core {
33 namespace scoring {
34 namespace methods {
35 
36 ///
38 public:
40 public:
41 
42  /// ctor
44 
45  /// clone
46  virtual
48  clone() const;
49 
50  /////////////////////////////////////////////////////////////////////////////
51  // methods for ContextIndependentOneBodyEnergies
52  /////////////////////////////////////////////////////////////////////////////
53 
54  ///
55  virtual
56  void
58  conformation::Residue const & rsd,
59  pose::Pose const & pose,
60  EnergyMap & emap
61  ) const;
62 
63  bool
64  minimize_in_whole_structure_context( pose::Pose const & ) const { return false; }
65 
66  /// @brief The ramachandran energy defines derivatives for protein backbone torsion angles
67  virtual
68  bool
69  defines_dof_derivatives( pose::Pose const & p ) const;
70 
71  /// @brief Evaluate the phi or psi derivative for a particular residue
72  virtual
73  Real
75  conformation::Residue const & rsd,
76  ResSingleMinimizationData const & min_data,
77  id::DOF_ID const & dof_id,
78  id::TorsionID const & torsion_id,
79  pose::Pose const & pose,
80  ScoreFunction const & sfxn,
81  EnergyMap const & weights
82  ) const;
83 
84  /// @brief NOTE: non-virtual function interface.
85  Real
87  id::DOF_ID const &,// dof_id,
88  id::TorsionID const & tor_id,
89  pose::Pose const & pose,
90  ScoreFunction const &,// sfxn,
91  EnergyMap const & weights
92  ) const;
93 
94  /// @brief Ramachandran Energy is context independent and thus indicates that no context graphs need to
95  /// be maintained by class Energies
96  virtual
97  void indicate_required_context_graphs( utility::vector1< bool > & /*context_graphs_required*/ ) const;
98 
99  // data
100 private:
102 virtual
103 core::Size version() const;
104 
105 };
106 
107 } // methods
108 } // scoring
109 } // core
110 
111 
112 #endif // INCLUDED_core_scoring_EtableEnergy_HH