Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OneBodyEnergy.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
11 /// @brief
12 /// @author
13 
14 // Unit headers
16 
17 // Package headers
20 
21 #include <utility/vector1.hh>
22 
23 
24 namespace core {
25 namespace scoring {
26 namespace methods {
27 
29  EnergyMethodCreatorOP creator
30 ) :
31  parent( creator )
32 {}
33 
35 
36 bool
38  conformation::Residue const &
39 ) const
40 {
41  return true;
42 }
43 
44 bool
46 {
47  return false;
48 }
49 
50 void
52  conformation::Residue const &,
54  pose::Pose const &,
55  EnergyMap &
56 ) const
57 {}
58 
59 
60 void
62  conformation::Residue const &,
63  pose::Pose const & ,
64  ScoreFunction const & ,
67 ) const {}
68 
69 bool
71 {
72  return false;
73 }
74 
75 void
77  conformation::Residue const &,
78  pose::Pose const &,
79  ScoreFunction const &,
81 ) const
82 {
83  // noop -- this should be an error
84 }
85 
86 bool
88 {
89  return false;
90 }
91 
92 void
94  conformation::Residue const &,
95  pose::Pose const &,
96  ScoreFunction const &,
98 ) const
99 {
100  // noop -- this should be an error
101 }
102 
103 
104 void
106  conformation::Residue const &,
108  pose::Pose const &,
109  EnergyMap const &,
111 ) const
112 {}
113 
114 /*void
115 OneBodyEnergy::eval_atom_derivative_for_residue(
116  Size const atom_index,
117  conformation::Residue const & rsd,
118  ResSingleMinimizationData const & min_data,
119  pose::Pose const & pose, // provides context
120  kinematics::DomainMap const & domain_map,
121  ScoreFunction const & sfxn,
122  EnergyMap const & weights,
123  Vector & F1,
124  Vector & F2
125 ) const {}*/
126 
127 
128 bool
130 {
131  return false;
132 }
133 
134 Real
136  conformation::Residue const &,
138  id::DOF_ID const &,
139  id::TorsionID const &,
140  pose::Pose const &,
141  ScoreFunction const &,
142  EnergyMap const &
143 ) const
144 {
145  return 0.0;
146 }
147 
148 
149 } // methods
150 } // scoring
151 } // core
152