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
electron_density
ElecDensEnergy.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/ElecDensEnergy.hh
11
/// @brief Scoring a structure's fit to electron density
12
/// @author Frank DiMaio
13
14
#ifndef INCLUDED_core_scoring_electron_density_ElecDensEnergy_hh
15
#define INCLUDED_core_scoring_electron_density_ElecDensEnergy_hh
16
17
#include <
core/scoring/methods/ContextIndependentLRTwoBodyEnergy.hh
>
18
#include <
core/scoring/ScoreFunction.fwd.hh
>
19
20
// Project headers
21
#include <
core/pose/Pose.fwd.hh
>
22
23
#include <utility/vector1.hh>
24
25
26
// Utility headers
27
28
namespace
core {
29
namespace
scoring {
30
namespace
electron_density {
31
32
///
33
class
ElecDensEnergy
:
public
methods::ContextIndependentLRTwoBodyEnergy
{
34
public
:
35
typedef
methods::ContextIndependentLRTwoBodyEnergy
parent
;
36
37
public
:
38
39
///
40
ElecDensEnergy
();
41
42
43
/// clone
44
virtual
45
methods::EnergyMethodOP
46
clone
()
const
;
47
48
/////////////////////////////////////////////////////////////////////////////
49
// scoring
50
/////////////////////////////////////////////////////////////////////////////
51
52
methods::LongRangeEnergyType
53
long_range_type
()
const
;
54
55
56
virtual
57
bool
58
defines_residue_pair_energy
(
59
pose::Pose
const
& pose,
60
Size
res1,
61
Size
res2
62
)
const
;
63
64
virtual
65
void
66
setup_for_scoring
(
pose::Pose
& pose,
ScoreFunction
const
& )
const
;
67
68
virtual
69
void
70
setup_for_derivatives
(
pose::Pose
& pose,
ScoreFunction
const
& sf)
const
;
71
72
virtual
73
bool
74
defines_intrares_energy
(
EnergyMap
const
& )
const
{
return
true
; }
75
76
/// @brief Evaluate the intra-residue constraint energy for a given residue
77
virtual
78
void
79
eval_intrares_energy
(
80
conformation::Residue
const
& rsd,
81
pose::Pose
const
& pose,
82
ScoreFunction
const
& sfxn,
83
EnergyMap
& emap
84
)
const
;
85
86
87
///
88
virtual
89
void
90
residue_pair_energy
(
91
conformation::Residue
const
& rsd1,
92
conformation::Residue
const
& rsd2,
93
pose::Pose
const
& pose,
94
ScoreFunction
const
& sfxn,
95
EnergyMap
& emap
96
)
const
;
97
98
using
methods::ContextIndependentLRTwoBodyEnergy::finalize_total_energy
;
99
100
/// called at the end of energy evaluation
101
virtual
102
void
103
finalize_total_energy
(
104
pose::Pose
const
& pose,
105
ScoreFunction
const
&,
106
EnergyMap
& totals
107
)
const
;
108
109
110
/// called during gradient-based minimization inside dfunc
111
/**
112
F1 and F2 are not zeroed -- contributions from this atom are
113
just summed in
114
**/
115
virtual
116
void
117
eval_atom_derivative
(
118
id::AtomID
const
&
id
,
119
pose::Pose
const
& pose,
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
virtual
129
void
indicate_required_context_graphs
(
utility::vector1< bool >
&
/* context_graphs_required */
)
const
{
130
//context_graphs_required[ ten_A_neighbor_graph ] = true;
131
};
132
133
/////////////////////////////////////////////////////////////////////////////
134
// data
135
/////////////////////////////////////////////////////////////////////////////
136
137
138
private
:
139
bool
map_loaded
;
140
mutable
bool
pose_is_proper
;
141
virtual
142
core::Size
version
()
const
;
143
};
144
145
146
}
147
}
148
}
149
150
#endif
151
Generated on Sat Jun 1 2013 11:36:29 for Rosetta 3.5 by
1.8.4