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
OmegaTetherEnergy.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/OmegaTetherEnergy.hh
11
/// @brief OmegaTether energy method class declaration
12
/// @author Phil Bradley
13
14
15
#ifndef INCLUDED_core_scoring_methods_OmegaTetherEnergy_hh
16
#define INCLUDED_core_scoring_methods_OmegaTetherEnergy_hh
17
18
// Unit headers
19
#include <
core/scoring/methods/OmegaTetherEnergy.fwd.hh
>
20
21
// Package headers
22
#include <
core/scoring/methods/ContextIndependentOneBodyEnergy.hh
>
23
#include <
core/scoring/OmegaTether.fwd.hh
>
24
#include <
core/scoring/ScoreFunction.fwd.hh
>
25
#include <
core/scoring/MinimizationData.fwd.hh
>
26
#include <
core/id/DOF_ID.fwd.hh
>
27
28
#include <utility/vector1.hh>
29
30
31
32
namespace
core {
33
namespace
scoring {
34
namespace
methods {
35
36
///
37
class
OmegaTetherEnergy
:
public
ContextIndependentOneBodyEnergy
{
38
public
:
39
typedef
ContextIndependentOneBodyEnergy
parent
;
40
public
:
41
42
/// ctor
43
OmegaTetherEnergy
();
44
45
/// clone
46
virtual
47
EnergyMethodOP
48
clone
()
const
;
49
50
/////////////////////////////////////////////////////////////////////////////
51
// methods for ContextIndependentOneBodyEnergies
52
/////////////////////////////////////////////////////////////////////////////
53
54
///
55
virtual
56
void
57
residue_energy
(
58
conformation::Residue
const
& rsd,
59
pose::Pose
const
& pose,
60
EnergyMap
& emap
61
)
const
;
62
63
bool
64
minimize_in_whole_structure_context
(
pose::Pose
const
& )
const
{
return
false
; }
65
66
/// @brief Use the dof_derivative interface for this energy method when
67
/// calculating derivatives? It is possible to define both dof_derivatives and
68
/// atom-derivatives; they are not mutually exclusive.
69
virtual
70
bool
71
defines_dof_derivatives
(
pose::Pose
const
& p )
const
;
72
73
/// @brief Evaluate the DOF derivative for a particular residue. The Pose merely serves as context,
74
/// and the input residue is not required to be a member of the Pose.
75
virtual
76
Real
77
eval_residue_dof_derivative
(
78
conformation::Residue
const
& rsd,
79
ResSingleMinimizationData
const
& min_data,
80
id::DOF_ID
const
& dof_id,
81
id::TorsionID
const
& torsion_id,
82
pose::Pose
const
& pose,
83
ScoreFunction
const
& sfxn,
84
EnergyMap
const
& weights
85
)
const
;
86
87
88
///
89
virtual
90
Real
91
old_eval_dof_derivative
(
92
id::DOF_ID
const
&,
// dof_id,
93
id::TorsionID
const
& tor_id,
94
pose::Pose
const
& pose,
95
ScoreFunction
const
&,
// sfxn,
96
EnergyMap
const
& weights
97
)
const
;
98
99
/// @brief OmegaTether Energy is context independent and thus indicates that no context graphs need to
100
/// be maintained by class Energies
101
virtual
102
void
indicate_required_context_graphs
(
utility::vector1< bool >
&
/*context_graphs_required*/
)
const
;
103
104
// data
105
private
:
106
OmegaTether
const
&
potential_
;
107
virtual
108
core::Size
version
()
const
;
109
110
};
111
112
}
// methods
113
}
// scoring
114
}
// core
115
116
117
#endif // INCLUDED_core_scoring_EtableEnergy_HH
Generated on Sat Jun 1 2013 11:38:32 for Rosetta 3.5 by
1.8.4