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
etable
count_pair
CountPairIntraRes.cc
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/etable/count_pair/CountPairIntraResC3.cc
11
/// @brief Count pair for residue pairs connected with one bond, where the
12
/// crossover from excluding to counting atom pair interactions is at 3 bonds.
13
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
14
15
16
#include <
core/scoring/etable/count_pair/CountPairIntraResC3.hh
>
17
#include <
core/scoring/etable/atom_pair_energy_inline.hh
>
18
19
20
#include <
core/scoring/etable/Etable.hh
>
21
#include <
core/scoring/etable/EtableEnergy.hh
>
22
23
namespace
core {
24
namespace
scoring {
25
namespace
etable {
26
namespace
count_pair {
27
28
29
/// @brief take a reference to the path distances table
30
CountPairIntraResC3::CountPairIntraResC3
(
31
conformation::Residue
const
& res
32
) :
33
parent
(),
34
path_dists_( res.path_distances() )
35
{
36
}
37
38
CountPairIntraResC3::~CountPairIntraResC3
() {}
39
40
bool
41
CountPairIntraResC3::count
(
42
int
const
at1,
43
int
const
at2,
44
Real
& w,
45
Size
& path_dist
46
)
const
47
{
48
return
operator()
( at1, at2, w, path_dist );
49
}
50
51
52
void
53
CountPairIntraResC3::residue_atom_pair_energy
(
54
conformation::Residue
const
& res,
55
conformation::Residue
const
& ,
56
etable::TableLookupEvaluator
const
& etable_energy,
57
EnergyMap
& emap
58
)
const
59
{
60
inline_intraresidue_atom_pair_energy
( res, etable_energy, *
this
, emap );
61
}
62
63
64
void
65
CountPairIntraResC3::residue_atom_pair_energy_sidechain_backbone
(
66
conformation::Residue
const
& ,
67
conformation::Residue
const
& ,
68
etable::TableLookupEvaluator
const
& ,
69
EnergyMap
&
70
)
const
71
{
72
std::cerr <<
"Error: illegal call to CountPairIntraResC3::residue_atom_pair_energy_sidechain_backbone"
<< std::endl;
73
utility_exit();
74
}
75
76
77
void
78
CountPairIntraResC3::residue_atom_pair_energy_sidechain_whole
(
79
conformation::Residue
const
& ,
80
conformation::Residue
const
& ,
81
etable::TableLookupEvaluator
const
& ,
82
EnergyMap
&
83
)
const
84
{
85
std::cerr <<
"Error: illegal call to CountPairIntraResC3::residue_atom_pair_energy_sidechain_whole"
<< std::endl;
86
utility_exit();
87
}
88
89
void
90
CountPairIntraResC3::residue_atom_pair_energy
(
91
conformation::Residue
const
& res,
92
conformation::Residue
const
& ,
93
etable::AnalyticEtableEvaluator
const
& etable_energy,
94
EnergyMap
& emap
95
)
const
96
{
97
inline_intraresidue_atom_pair_energy
( res, etable_energy, *
this
, emap );
98
}
99
100
101
void
102
CountPairIntraResC3::residue_atom_pair_energy_sidechain_backbone
(
103
conformation::Residue
const
& ,
104
conformation::Residue
const
& ,
105
etable::AnalyticEtableEvaluator
const
& ,
106
EnergyMap
&
107
)
const
108
{
109
std::cerr <<
"Error: illegal call to CountPairIntraResC3::residue_atom_pair_energy_sidechain_backbone"
<< std::endl;
110
utility_exit();
111
}
112
113
114
void
115
CountPairIntraResC3::residue_atom_pair_energy_sidechain_whole
(
116
conformation::Residue
const
& ,
117
conformation::Residue
const
& ,
118
etable::AnalyticEtableEvaluator
const
& ,
119
EnergyMap
&
120
)
const
121
{
122
std::cerr <<
"Error: illegal call to CountPairIntraResC3::residue_atom_pair_energy_sidechain_whole"
<< std::endl;
123
utility_exit();
124
}
125
126
127
}
// namespace count_pair
128
}
// namespace etable {
129
}
// namespace scoring
130
}
// namespace core
Generated on Sat Jun 1 2013 11:36:47 for Rosetta 3.5 by
1.8.4