Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
18 
19 
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
31  conformation::Residue const & res
32 ) :
33  parent(),
34  path_dists_( res.path_distances() )
35 {
36 }
37 
39 
40 bool
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
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
66  conformation::Residue const & ,
67  conformation::Residue 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
79  conformation::Residue const & ,
80  conformation::Residue 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
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
103  conformation::Residue const & ,
104  conformation::Residue 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
116  conformation::Residue const & ,
117  conformation::Residue 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