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
CountPairIntraResC4.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/CountPairIntraResC4.cc
11
/// @brief Count pair for intra-residue LJ/LK, where the
12
/// crossover from excluding to counting atom pair interactions is at 4 bonds.
13
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
14
15
16
#include <
core/scoring/etable/count_pair/CountPairIntraResC4.hh
>
17
#include <
core/scoring/etable/atom_pair_energy_inline.hh
>
18
19
#include <
core/scoring/etable/EtableEnergy.hh
>
20
21
namespace
core {
22
namespace
scoring {
23
namespace
etable {
24
namespace
count_pair {
25
26
27
/// @brief take a row from the path distances table
28
/// to retrieve the lower and upper path distances
29
/// for all atoms in each residue
30
CountPairIntraResC4::CountPairIntraResC4
(
31
conformation::Residue
const
& res
32
) :
33
parent
(),
34
path_dists_( res.path_distances())
35
{
36
}
37
38
CountPairIntraResC4::~CountPairIntraResC4
() {}
39
40
bool
41
CountPairIntraResC4::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
CountPairIntraResC4::residue_atom_pair_energy
(
54
conformation::Residue
const
& res,
55
conformation::Residue
const
&
/*res2*/
,
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
CountPairIntraResC4::residue_atom_pair_energy_sidechain_backbone
(
66
conformation::Residue
const
&
/*res1*/
,
67
conformation::Residue
const
&
/*res2*/
,
68
etable::TableLookupEvaluator
const
&
/*etable_energy*/
,
69
EnergyMap
&
/*emap*/
70
)
const
71
{
72
std::cerr <<
"Error: illegal call to CountPairIntraResC4::residue_atom_pair_energy_sidechain_backbone"
<< std::endl;
73
utility_exit();
74
}
75
76
77
void
78
CountPairIntraResC4::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 CountPairIntraResC4::residue_atom_pair_energy_sidechain_whole"
<< std::endl;
86
utility_exit();
87
}
88
89
void
90
CountPairIntraResC4::residue_atom_pair_energy
(
91
conformation::Residue
const
& res,
92
conformation::Residue
const
& res2,
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
CountPairIntraResC4::residue_atom_pair_energy_sidechain_backbone
(
103
conformation::Residue
const
& res1,
104
conformation::Residue
const
& res2,
105
etable::AnalyticEtableEvaluator
const
& etable_energy,
106
EnergyMap
& emap
107
)
const
108
{
109
std::cerr <<
"Error: illegal call to CountPairIntraResC4::residue_atom_pair_energy_sidechain_backbone"
<< std::endl;
110
utility_exit();
111
}
112
113
114
void
115
CountPairIntraResC4::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 CountPairIntraResC4::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