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_atomwise
ElecDensAtomwiseEnergy.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 src/core/scoring/electron_density_atomwise/ElecDensAtomwiseEnergy.hh
11
/// @brief Declaration for elec_dens_atomwise scoring method
12
/// @author Fang-Chieh Chou
13
14
#ifndef INCLUDED_core_scoring_electron_density_atomwise_ElecDensAtomwiseEnergy_HH
15
#define INCLUDED_core_scoring_electron_density_atomwise_ElecDensAtomwiseEnergy_HH
16
17
// Package headers
18
#include <
core/scoring/methods/ContextIndependentLRTwoBodyEnergy.hh
>
19
#include <
core/scoring/ScoreFunction.fwd.hh
>
20
21
// Project headers
22
#include <
core/pose/Pose.fwd.hh
>
23
#include <
core/id/TorsionID.fwd.hh
>
24
#include <
core/id/DOF_ID.fwd.hh
>
25
#include <
core/types.hh
>
26
#include <
core/conformation/Residue.fwd.hh
>
27
#include <
core/conformation/symmetry/SymmetryInfo.fwd.hh
>
28
29
30
namespace
core {
31
namespace
scoring {
32
namespace
electron_density_atomwise {
33
34
class
ElecDensAtomwiseEnergy
:
public
methods::ContextIndependentLRTwoBodyEnergy
{
35
public
:
36
typedef
methods::ContextIndependentLRTwoBodyEnergy
parent
;
37
38
public
:
39
40
///
41
ElecDensAtomwiseEnergy
();
42
43
///
44
virtual
~ElecDensAtomwiseEnergy
();
45
46
virtual
47
methods::EnergyMethodOP
48
clone
()
const
;
49
50
///
51
virtual
52
void
indicate_required_context_graphs
(
utility::vector1< bool >
& )
const
{};
53
54
/////////////////////////////////////////////////////////////////////////////
55
56
methods::LongRangeEnergyType
57
long_range_type
()
const
;
58
59
///
60
virtual
61
bool
62
defines_residue_pair_energy
(
63
pose::Pose
const
& pose,
64
Size
res1,
65
Size
res2
66
)
const
;
67
68
69
///
70
virtual
71
bool
72
defines_intrares_energy
(
EnergyMap
const
& )
const
{
73
return
true
;
74
}
75
76
///
77
virtual
78
void
79
residue_pair_energy
(
80
conformation::Residue
const
& rsd1,
81
conformation::Residue
const
& rsd2,
82
pose::Pose
const
& pose,
83
ScoreFunction
const
& sfxn,
84
EnergyMap
& emap
85
)
const
;
86
87
88
///
89
virtual
90
void
91
eval_intrares_energy
(
92
conformation::Residue
const
&,
93
pose::Pose
const
&,
94
ScoreFunction
const
&,
95
EnergyMap
&
96
)
const
{
97
return
;
98
}
99
100
101
///
102
virtual
103
void
104
eval_atom_derivative
(
105
id::AtomID
const
&
id
,
106
pose::Pose
const
& pose,
107
kinematics::DomainMap
const
&,
// domain_map,
108
ScoreFunction
const
& sfxn,
109
EnergyMap
const
& weights,
110
Vector
& F1,
111
Vector
& F2
112
)
const
;
113
114
///
115
virtual
116
void
117
setup_for_scoring
(
118
pose::Pose
& pose,
119
ScoreFunction
const
&
120
)
const
;
121
122
using
parent::finalize_total_energy
;
123
124
///
125
virtual
126
void
127
finalize_total_energy
(
128
pose::Pose
const
&,
129
ScoreFunction
const
&,
130
EnergyMap
&
131
)
const
{
132
return
;
133
}
134
135
private
:
136
mutable
bool
pose_is_proper
;
137
virtual
138
core::Size
version
()
const
;
139
};
140
141
}
// electron_density_atomwise
142
}
// scoring
143
}
// core
144
145
146
#endif
Generated on Sat Jun 1 2013 11:36:41 for Rosetta 3.5 by
1.8.4