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
CustomAtomPairEnergy.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/CustomAtomPairEnergy.hh
11
/// @brief
12
/// @author James Thompson
13
14
15
#ifndef INCLUDED_core_scoring_methods_CustomAtomPairEnergy_hh
16
#define INCLUDED_core_scoring_methods_CustomAtomPairEnergy_hh
17
18
// Unit Headers
19
#include <
core/scoring/methods/CustomAtomPairEnergy.fwd.hh
>
20
21
// Package headers
22
#include <
core/scoring/methods/ContextIndependentTwoBodyEnergy.hh
>
23
#include <
core/scoring/EnergyMap.fwd.hh
>
24
#include <
core/scoring/ScoreFunction.fwd.hh
>
25
#include <
core/scoring/constraints/SOGFunc_Impl.hh
>
26
27
// Project headers
28
#include <
core/pose/Pose.fwd.hh
>
29
30
#include <utility/vector1.hh>
31
32
//#include <core/pack/task/PackerTask.fwd.hh>
33
34
// Utility headers
35
36
namespace
core {
37
namespace
scoring {
38
namespace
methods {
39
40
///
41
class
CustomAtomPairEnergy
:
public
ContextIndependentTwoBodyEnergy
{
42
public
:
43
typedef
ContextIndependentTwoBodyEnergy
parent
;
44
45
public
:
46
47
///
48
CustomAtomPairEnergy
(
Size
const
cst_seq_sep );
49
50
/// clone
51
virtual
52
EnergyMethodOP
53
clone
()
const
;
54
55
///
56
virtual
57
void
58
setup_for_packing
(
pose::Pose
& pose,
utility::vector1< bool >
const
&,
utility::vector1< bool >
const
& )
const
;
59
60
///
61
virtual
62
void
63
setup_for_scoring
(
pose::Pose
& pose,
ScoreFunction
const
& )
const
;
64
65
///
66
virtual
67
void
68
setup_for_derivatives
(
pose::Pose
& pose,
ScoreFunction
const
& )
const
;
69
70
virtual
71
void
72
prepare_rotamers_for_packing
(
73
pose::Pose
const
& pose,
74
conformation::RotamerSetBase
& set
75
)
const
;
76
77
virtual
78
void
79
update_residue_for_packing
(
80
pose::Pose
&,
81
Size
resid )
const
;
82
83
/////////////////////////////////////////////////////////////////////////////
84
// scoring
85
/////////////////////////////////////////////////////////////////////////////
86
87
virtual
88
void
89
residue_pair_energy
(
90
conformation::Residue
const
& rsd1,
91
conformation::Residue
const
& rsd2,
92
pose::Pose
const
& pose,
93
ScoreFunction
const
&,
94
EnergyMap
& emap
95
)
const
;
96
97
virtual
98
void
99
eval_atom_derivative
(
100
id::AtomID
const
& atom_id,
101
pose::Pose
const
& pose,
102
kinematics::DomainMap
const
& domain_map,
103
ScoreFunction
const
&,
104
EnergyMap
const
& weights,
105
Vector
& F1,
106
Vector
& F2
107
)
const
;
108
109
virtual
110
Distance
111
atomic_interaction_cutoff
()
const
;
112
113
/// @details non-virtual accessor for speed
114
Distance
115
interaction_cutoff
()
const
;
116
117
virtual
118
void
indicate_required_context_graphs
(
119
utility::vector1< bool >
& context_graphs_required
120
)
const
;
121
122
virtual
123
bool
124
defines_intrares_energy
(
EnergyMap
const
&
/*weights*/
)
const
;
125
126
virtual
127
void
128
eval_intrares_energy
(
129
conformation::Residue
const
& rsd,
130
pose::Pose
const
& pose,
131
ScoreFunction
const
& sfxn,
132
EnergyMap
& emap
133
)
const
;
134
135
/////////////////////////////////////////////////////////////////////////////
136
// data
137
/////////////////////////////////////////////////////////////////////////////
138
139
private
:
140
141
// constraints with more than this sequence separation are not active
142
Size
const
max_cst_seq_sep_
;
143
mutable
std::string
fn_
;
144
145
//mutable bool init_;
146
mutable
utility::vector1< utility::vector1< core::scoring::constraints::SOGFunc_Impl >
>
funcs_
;
147
mutable
utility::vector1< utility::vector1< bool >
>
have_cst_
;
148
virtual
149
core::Size
version
()
const
;
150
};
151
152
}
// constraints
153
}
// scoring
154
}
// core
155
156
#endif // INCLUDED_core_scoring_ScoreFunction_HH
Generated on Sat Jun 1 2013 11:37:43 for Rosetta 3.5 by
1.8.4