Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CountPairIntraResC3.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 
18 
20 
21 namespace core {
22 namespace scoring {
23 namespace etable {
24 namespace count_pair {
25 
26 
27 /// @brief take a reference to the path distances table
29  conformation::Residue const & res
30 ) :
31  parent(),
32  path_dists_( res.path_distances() )
33 {
34 }
35 
37 
38 bool
40  int const at1,
41  int const at2,
42  Real & w,
43  Size & path_dist
44 ) const
45 {
46  return operator() ( at1, at2, w, path_dist );
47 }
48 
49 
50 void
52  conformation::Residue const & res,
53  conformation::Residue const & ,
54  etable::TableLookupEvaluator const & etable_energy,
55  EnergyMap & emap
56 ) const
57 {
58  inline_intraresidue_atom_pair_energy( res, etable_energy, *this, emap );
59 }
60 
61 
62 void
64  conformation::Residue const & ,
65  conformation::Residue const & ,
66  etable::TableLookupEvaluator const & ,
67  EnergyMap &
68 ) const
69 {
70  std::cerr << "Error: illegal call to CountPairIntraResC3::residue_atom_pair_energy_sidechain_backbone" << std::endl;
71  utility_exit();
72 }
73 
74 
75 void
77  conformation::Residue const & ,
78  conformation::Residue const & ,
79  etable::TableLookupEvaluator const & ,
80  EnergyMap &
81 ) const
82 {
83  std::cerr << "Error: illegal call to CountPairIntraResC3::residue_atom_pair_energy_sidechain_whole" << std::endl;
84  utility_exit();
85 }
86 
87 void
89  conformation::Residue const & res,
90  conformation::Residue const & ,
91  etable::AnalyticEtableEvaluator const & etable_energy,
92  EnergyMap & emap
93 ) const
94 {
95  inline_intraresidue_atom_pair_energy( res, etable_energy, *this, emap );
96 }
97 
98 
99 void
101  conformation::Residue const & ,
102  conformation::Residue const & ,
103  etable::AnalyticEtableEvaluator const & ,
104  EnergyMap &
105 ) const
106 {
107  std::cerr << "Error: illegal call to CountPairIntraResC3::residue_atom_pair_energy_sidechain_backbone" << std::endl;
108  utility_exit();
109 }
110 
111 
112 void
114  conformation::Residue const & ,
115  conformation::Residue const & ,
116  etable::AnalyticEtableEvaluator const & ,
117  EnergyMap &
118 ) const
119 {
120  std::cerr << "Error: illegal call to CountPairIntraResC3::residue_atom_pair_energy_sidechain_whole" << std::endl;
121  utility_exit();
122 }
123 
124 } // namespace count_pair
125 } // namespace etable {
126 } // namespace scoring
127 } // namespace core