Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CSD_TorsionEnergy.cc
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/.cc
11 ///
12 /// @brief
13 /// @author Ian W. Davis
14 /// @author Kristian Kaufmann
15 
16 
18 
21 #include <core/pose/Pose.hh>
22 #include <numeric/xyz.functions.hh>
23 
24 namespace core {
25 namespace scoring {
26 namespace methods {
27 
28 /// @brief THIS CLASS REQUIRES AN EnergyMethodCreator TO WORK PROPERLY
31 {}
32 
33 
35 
36 
39 {
40  return new CSD_TorsionEnergy();
41 }
42 
43 
44 void
46 {
48 }
49 
50 
51 void
53 {
55 }
56 
57 
58 void
60 {
62 }
63 
64 
65 bool
67 {
68  return true;
69 }
70 
71 
72 void
74  conformation::Residue const & ,
75  conformation::Residue const & ,
76  pose::Pose const & ,
77  ScoreFunction const & ,
78  EnergyMap & emap
79 ) const
80 {
81  // add energy to emap (unweighted)
82  emap[ csd_torsion ] += 0;
83 }
84 
85 
86 void
88  conformation::Residue const & ,
89  pose::Pose const & ,
90  ScoreFunction const & ,
91  EnergyMap &
92 ) const
93 {
94 }
95 
96 
97 Real
99  id::DOF_ID const &,// dof_id,
100  id::TorsionID const & ,
101  pose::Pose const & ,
102  ScoreFunction const &,// sfxn,
103  EnergyMap const & weights
104 ) const
105 {
106  // note that the atomtree Oomega dofs are in radians
107  // use degrees since dE/dangle has angle in denominator
108  Real deriv = 0;
109  return numeric::conversions::degrees( weights[ csd_torsion ] * deriv );
110 }
111 
112 
113 Distance
115 {
116  return 0.0;
117 }
118 
119 
120 void
122 {}
123 
124 
125 } // namespace methods
126 } // namespace scoring
127 } // namespace core