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
PeptideBondEnergy.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/PeptideBondEnergy.hh
11
/// @brief scoring method that defines ideal bond lengths between
12
/// carbonyl carbon of residue N and nitrogen of residue N+1.
13
/// @author James Thompson
14
15
#ifndef INCLUDED_core_scoring_methods_PeptideBondEnergy_hh
16
#define INCLUDED_core_scoring_methods_PeptideBondEnergy_hh
17
18
// Unit headers
19
#include <
core/scoring/methods/PeptideBondEnergy.fwd.hh
>
20
21
// Package headers
22
#include <
core/scoring/ScoreFunction.fwd.hh
>
23
#include <
core/scoring/EnergyMap.fwd.hh
>
24
// AUTO-REMOVED #include <core/scoring/methods/WholeStructureEnergy.hh>
25
#include <
core/scoring/methods/ContextIndependentTwoBodyEnergy.hh
>
26
27
// Project headers
28
#include <
core/pose/Pose.fwd.hh
>
29
#include <
core/kinematics/DomainMap.fwd.hh
>
30
#include <
core/id/AtomID.fwd.hh
>
31
32
#include <utility/vector1.hh>
33
34
35
36
namespace
core {
37
namespace
scoring {
38
namespace
methods {
39
40
/// @brief PeptideBondEnergy class iterates across all residues in finalize()
41
/// and determines the penalty between residues i and i+1 by the distance
42
/// the C-N bond. Evantually I'd also like to add bond angle constraints as
43
/// well, but that's handled by OmegaTether at the moment.
44
//class PeptideBondEnergy : public WholeStructureEnergy {
45
class
PeptideBondEnergy
:
public
ContextIndependentTwoBodyEnergy
{
46
public
:
47
typedef
ContextIndependentTwoBodyEnergy
parent
;
48
49
public
:
50
51
PeptideBondEnergy
();
52
53
/// clone
54
virtual
55
EnergyMethodOP
56
clone
()
const
57
{
58
return
new
PeptideBondEnergy
;
59
}
60
61
/// called at the end of energy evaluation
62
//virtual
63
//void
64
//finalize_total_energy(
65
// pose::Pose & pose,
66
// ScoreFunction const &,
67
// EnergyMap & totals
68
//) const;
69
70
virtual
71
void
72
residue_pair_energy
(
73
conformation::Residue
const
& rsd1,
74
conformation::Residue
const
& rsd2,
75
pose::Pose
const
& pose,
76
ScoreFunction
const
&,
77
EnergyMap
& emap
78
)
const
;
79
80
virtual
81
void
82
eval_intrares_energy
(
83
conformation::Residue
const
&,
84
pose::Pose
const
&,
85
ScoreFunction
const
&,
86
EnergyMap
&
87
)
const
{}
88
89
/// called during gradient-based minimization inside dfunc
90
/**
91
F1 and F2 are not zeroed -- contributions from this atom are
92
just summed in
93
**/
94
virtual
95
void
96
eval_atom_derivative
(
97
id::AtomID
const
&
id
,
98
pose::Pose
const
& pose,
99
kinematics::DomainMap
const
& domain_map,
100
ScoreFunction
const
& sfxn,
101
EnergyMap
const
& weights,
102
Vector
& F1,
103
Vector
& F2
104
)
const
;
105
106
virtual
107
void
108
indicate_required_context_graphs
(
utility::vector1< bool >
& )
const
;
109
110
virtual
111
bool
112
defines_intrares_energy
(
EnergyMap
const
&
/*weights*/
)
const
{
113
return
false
;
114
}
115
116
virtual
117
Distance
118
atomic_interaction_cutoff
()
const
;
119
virtual
120
core::Size
version
()
const
;
121
122
private
:
123
124
};
125
126
}
// methods
127
}
// scoring
128
}
// core
129
130
131
#endif
Generated on Sat Jun 1 2013 11:38:39 for Rosetta 3.5 by
1.8.4