Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CustomAtomPairEnergy.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/CustomAtomPairEnergy.hh
11 /// @brief
12 /// @author James Thompson
13 
14 
15 #ifndef INCLUDED_core_scoring_methods_CustomAtomPairEnergy_hh
16 #define INCLUDED_core_scoring_methods_CustomAtomPairEnergy_hh
17 
18 // Unit Headers
20 
21 // Package headers
26 
27 // Project headers
28 #include <core/pose/Pose.fwd.hh>
29 
30 #include <utility/vector1.hh>
31 
32 //#include <core/pack/task/PackerTask.fwd.hh>
33 
34 // Utility headers
35 
36 namespace core {
37 namespace scoring {
38 namespace methods {
39 
40 ///
42 public:
44 
45 public:
46 
47  ///
48  CustomAtomPairEnergy( Size const cst_seq_sep );
49 
50  /// clone
51  virtual
53  clone() const;
54 
55  ///
56  virtual
57  void
59 
60  ///
61  virtual
62  void
63  setup_for_scoring( pose::Pose & pose, ScoreFunction const & ) const;
64 
65  ///
66  virtual
67  void
68  setup_for_derivatives( pose::Pose & pose, ScoreFunction const & ) const;
69 
70  virtual
71  void
73  pose::Pose const & pose,
75  ) const;
76 
77  virtual
78  void
80  pose::Pose &,
81  Size resid ) const;
82 
83  /////////////////////////////////////////////////////////////////////////////
84  // scoring
85  /////////////////////////////////////////////////////////////////////////////
86 
87  virtual
88  void
90  conformation::Residue const & rsd1,
91  conformation::Residue const & rsd2,
92  pose::Pose const & pose,
93  ScoreFunction const &,
94  EnergyMap & emap
95  ) const;
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  virtual
110  Distance
112 
113  /// @details non-virtual accessor for speed
114  Distance
115  interaction_cutoff() const;
116 
117  virtual
119  utility::vector1< bool > & context_graphs_required
120  ) const;
121 
122  virtual
123  bool
124  defines_intrares_energy( EnergyMap const & /*weights*/ ) const;
125 
126  virtual
127  void
129  conformation::Residue const & rsd,
130  pose::Pose const & pose,
131  ScoreFunction const & sfxn,
132  EnergyMap & emap
133  ) const;
134 
135  /////////////////////////////////////////////////////////////////////////////
136  // data
137  /////////////////////////////////////////////////////////////////////////////
138 
139 private:
140 
141  // constraints with more than this sequence separation are not active
143  mutable std::string fn_;
144 
145  //mutable bool init_;
148 virtual
149 core::Size version() const;
150 };
151 
152 } // constraints
153 } // scoring
154 } // core
155 
156 #endif // INCLUDED_core_scoring_ScoreFunction_HH