Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
WaterAdductHBondEnergy.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/WaterAdductHBondEnergy.hh
11 /// @brief Energy potential for water mediated hydrogen bonds
12 /// involving adduct-placed water molecules
13 /// @author Jim Havranek
14 
15 
16 #ifndef INCLUDED_core_scoring_methods_WaterAdductHBondEnergy_hh
17 #define INCLUDED_core_scoring_methods_WaterAdductHBondEnergy_hh
18 
19 // Unit headers
21 // AUTO-REMOVED #include <core/scoring/hbonds/HBondSet.hh>
22 
23 // Package headers
27 
28 
29 // Project headers
30 #include <core/pose/Pose.fwd.hh>
32 
34 #include <utility/vector1.hh>
35 
36 
37 namespace core {
38 namespace scoring {
39 namespace methods {
40 
41 ///
43 public:
45 
46 public:
47 
48  /// ctor
50 
51  /// clone
52  virtual
54  clone() const;
55 
56  /////////////////////////////////////////////////////////////////////////////
57  // methods for ContextIndependentTwoBodyEnergies
58  /////////////////////////////////////////////////////////////////////////////
59 
60  virtual
61  void
62  setup_for_derivatives( pose::Pose & pose, ScoreFunction const & ) const;
63 
64  virtual
65  void
66  setup_for_scoring( pose::Pose & pose, ScoreFunction const & ) const;
67 
68  virtual
69  void
71 
72  /////////////////////////////////////////////////////////////////////////////
73  // scoring
74  /////////////////////////////////////////////////////////////////////////////
75 
76  virtual
77  void
79  conformation::Residue const & rsd1,
80  conformation::Residue const & rsd2,
81  pose::Pose const & pose,
82  ScoreFunction const &,
83  EnergyMap & emap
84  ) const;
85 
86 
87  virtual
88  void
90  conformation::Residue const &,
91  pose::Pose const &,
92  ScoreFunction const &,
93  EnergyMap &
94  ) const {}
95 
96 
97  virtual
98  void
100  id::AtomID const & atom_id,
101  pose::Pose const & pose,
102  kinematics::DomainMap const & domain_map,
103  ScoreFunction const &,
104  EnergyMap const & weights,
105  Vector & F1,
106  Vector & F2
107  ) const;
108 
109  void
111  id::AtomID const & atom,
112  hbonds::HBondSet const & hbond_set,
113  EnergyMap const & weights,
114  Vector & f1,
115  Vector & f2
116  ) const;
117 
118  virtual
119  bool
120  defines_intrares_energy( EnergyMap const & /*weights*/ ) const { return false; }
121 
122  virtual
123  Distance
125 
126  virtual
127  void indicate_required_context_graphs( utility::vector1< bool > & context_graphs_required ) const;
128 
129  /////////////////////////////////////////////////////////////////////////////
130  // data
131  /////////////////////////////////////////////////////////////////////////////
132 
133 private:
134 
136 virtual
137 core::Size version() const;
138 
139 };
140 
141 } // methods
142 } // scoring
143 } // core
144 
145 
146 #endif // INCLUDED_core_scoring_methods_WaterAdductHBondEnergy_HH