Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
scoring
methods
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
15
#include <
core/scoring/methods/OneBodyEnergy.hh
>
16
17
// Package headers
18
#include <
core/scoring/methods/EnergyMethod.hh
>
19
#include <
core/scoring/methods/EnergyMethodCreator.hh
>
20
21
#include <utility/vector1.hh>
22
23
24
namespace
core {
25
namespace
scoring {
26
namespace
methods {
27
28
OneBodyEnergy::OneBodyEnergy
(
29
EnergyMethodCreatorOP
creator
30
) :
31
parent
( creator )
32
{}
33
34
OneBodyEnergy::~OneBodyEnergy
() {}
35
36
bool
37
OneBodyEnergy::defines_score_for_residue
(
38
conformation::Residue
const
&
39
)
const
40
{
41
return
true
;
42
}
43
44
bool
45
OneBodyEnergy::use_extended_residue_energy_interface
()
const
46
{
47
return
false
;
48
}
49
50
void
51
OneBodyEnergy::residue_energy_ext
(
52
conformation::Residue
const
&,
53
ResSingleMinimizationData
const
&,
54
pose::Pose
const
&,
55
EnergyMap
&
56
)
const
57
{}
58
59
60
void
61
OneBodyEnergy::setup_for_minimizing_for_residue
(
62
conformation::Residue
const
&,
63
pose::Pose
const
& ,
64
ScoreFunction
const
& ,
65
kinematics::MinimizerMapBase
const
& ,
66
ResSingleMinimizationData
&
67
)
const
{}
68
69
bool
70
OneBodyEnergy::requires_a_setup_for_scoring_for_residue_opportunity
(
pose::Pose
const
& )
const
71
{
72
return
false
;
73
}
74
75
void
76
OneBodyEnergy::setup_for_scoring_for_residue
(
77
conformation::Residue
const
&,
78
pose::Pose
const
&,
79
ScoreFunction
const
&,
80
ResSingleMinimizationData
&
81
)
const
82
{
83
// noop -- this should be an error
84
}
85
86
bool
87
OneBodyEnergy::requires_a_setup_for_derivatives_for_residue_opportunity
(
pose::Pose
const
& )
const
88
{
89
return
false
;
90
}
91
92
void
93
OneBodyEnergy::setup_for_derivatives_for_residue
(
94
conformation::Residue
const
&,
95
pose::Pose
const
&,
96
ScoreFunction
const
&,
97
ResSingleMinimizationData
&
98
)
const
99
{
100
// noop -- this should be an error
101
}
102
103
104
void
105
OneBodyEnergy::eval_residue_derivatives
(
106
conformation::Residue
const
&,
107
ResSingleMinimizationData
const
&,
108
pose::Pose
const
&,
109
EnergyMap
const
&,
110
utility::vector1< DerivVectorPair >
&
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
129
OneBodyEnergy::defines_dof_derivatives
(
pose::Pose
const
& )
const
130
{
131
return
false
;
132
}
133
134
Real
135
OneBodyEnergy::eval_residue_dof_derivative
(
136
conformation::Residue
const
&,
137
ResSingleMinimizationData
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
Generated on Sat Jun 1 2013 11:38:33 for Rosetta 3.5 by
1.8.4