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
pack
dunbrack
DunbrackEnergy.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/pack/dunbrack/DunbrackEnergy.hh
11
/// @brief
12
/// @author
13
14
15
#ifndef INCLUDED_core_pack_dunbrack_DunbrackEnergy_hh
16
#define INCLUDED_core_pack_dunbrack_DunbrackEnergy_hh
17
18
// Unit headers
19
#include <
core/pack/dunbrack/DunbrackEnergy.fwd.hh
>
20
21
// Package headers
22
#include <
core/pack/dunbrack/RotamerLibrary.fwd.hh
>
23
#include <
core/scoring/MinimizationData.fwd.hh
>
24
25
// Project headers
26
#include <
core/pose/Pose.fwd.hh
>
27
#include <
core/scoring/ScoreFunction.fwd.hh
>
28
#include <
core/scoring/methods/ContextIndependentOneBodyEnergy.hh
>
29
#include <
core/id/DOF_ID.fwd.hh
>
30
31
#include <utility/vector1.hh>
32
33
34
namespace
core {
35
namespace
pack {
36
namespace
dunbrack {
37
38
///
39
class
DunbrackEnergy
:
public
scoring::methods::ContextIndependentOneBodyEnergy
{
40
public
:
41
typedef
ContextIndependentOneBodyEnergy
parent
;
42
typedef
dunbrack::RotamerLibrary
RotamerLibrary
;
43
44
public
:
45
46
/// @brief ctor
47
DunbrackEnergy
();
48
49
/// @brief dtor
50
virtual
~DunbrackEnergy
();
51
52
/// clone
53
virtual
54
scoring::methods::EnergyMethodOP
55
clone
()
const
;
56
57
/////////////////////////////////////////////////////////////////////////////
58
// methods for ContextIndependentOneBodyEnergies
59
/////////////////////////////////////////////////////////////////////////////
60
61
///
62
virtual
63
void
64
residue_energy
(
65
conformation::Residue
const
& rsd,
66
pose::Pose
const
& pose,
67
scoring::EnergyMap
& emap
68
)
const
;
69
70
bool
71
minimize_in_whole_structure_context
(
pose::Pose
const
& )
const
{
return
false
; }
72
73
/// @brief Yes. The DunbrackEnergy defines derivatives
74
/// for phi/psi and the chi dihedrals.
75
virtual
76
bool
77
defines_dof_derivatives
(
pose::Pose
const
& p )
const
;
78
79
/// @brief Evaluate the phi/psi and chi dihedral derivatives
80
/// for the input residue.
81
Real
82
eval_residue_dof_derivative
(
83
conformation::Residue
const
& rsd,
84
scoring::ResSingleMinimizationData
const
& min_data,
85
id::DOF_ID
const
& dof_id,
86
id::TorsionID
const
& torsion_id,
87
pose::Pose
const
& pose,
88
scoring::ScoreFunction
const
& sfxn,
89
scoring::EnergyMap
const
& weights
90
)
const
;
91
92
/// @brief Deprecated.
93
virtual
94
Real
95
eval_dof_derivative
(
96
id::DOF_ID
const
& dof_id,
97
id::TorsionID
const
& tor_id,
98
pose::Pose
const
& pose,
99
scoring::ScoreFunction
const
& sfxn,
100
scoring::EnergyMap
const
& weights
101
)
const
;
102
103
/// @brief DunbrackEnergy is context independent; indicates that no
104
/// context graphs are required
105
virtual
106
void
indicate_required_context_graphs
(
utility::vector1< bool >
& )
const
;
107
108
109
// data
110
private
:
111
// changed to & so that it does not duplicate the dunbrack lib; arguably should be COP.
112
//RotamerLibrary const & rot_lib_;
113
114
//mutable dunbrack::RotamerLibraryScratchSpaceOP scratch_;
115
virtual
116
core::Size
version
()
const
;
117
118
};
119
120
}
// dunbrack
121
}
// pack
122
}
// core
123
124
125
#endif // INCLUDED_core_scoring_EtableEnergy_HH
Generated on Sat Jun 1 2013 11:33:14 for Rosetta 3.5 by
1.8.4