Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PattersonCorrEnergy.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
11 /// @brief Scoring a structure's fit to a patterson map
12 /// @author Frank DiMaio
13 
14 #ifndef INCLUDED_core_scoring_electron_density_PattersonCorrEnergy_hh
15 #define INCLUDED_core_scoring_electron_density_PattersonCorrEnergy_hh
16 
19 
20 #include <core/pose/Pose.fwd.hh>
21 
22 #include <utility/vector1.hh>
23 
24 
25 // Utility headers
26 
27 namespace core {
28 namespace scoring {
29 namespace electron_density {
30 
31 ///
33 public:
35 
36 public:
37 
38  ///
40 
41 
42  /// clone
43  virtual
45  clone() const;
46 
47  /////////////////////////////////////////////////////////////////////////////
48  // scoring
49  /////////////////////////////////////////////////////////////////////////////
50 
52  long_range_type() const;
53 
54  virtual bool
56  pose::Pose const & pose,
57  Size res1,
58  Size res2
59  ) const;
60 
61  virtual void
62  setup_for_scoring( pose::Pose & pose, ScoreFunction const & ) const;
63 
64  virtual void
65  setup_for_derivatives( pose::Pose & pose, ScoreFunction const & sfxn ) const;
66 
67  virtual void
69 
70  virtual bool
71  defines_intrares_energy( EnergyMap const & ) const { return false; }
72 
73  virtual void
75  conformation::Residue const & ,
76  pose::Pose const & ,
77  ScoreFunction const & ,
78  EnergyMap &
79  ) const { }
80 
81  virtual void
83 
84  virtual void
86  pose::Pose &,
87  Size resid
88  ) const;
89 
90  virtual void
92  conformation::Residue const & rsd1,
93  conformation::Residue const & rsd2,
94  pose::Pose const & pose,
95  ScoreFunction const & sfxn,
96  EnergyMap & emap
97  ) const;
98 
100 
101  /// called at the end of energy evaluation
102  virtual void
104  pose::Pose const & pose,
105  ScoreFunction const &,
106  EnergyMap & totals
107  ) const;
108 
109 
110  virtual void
112  id::AtomID const & id,
113  pose::Pose const & pose,
114  kinematics::DomainMap const &, // domain_map,
115  ScoreFunction const & sfxn,
116  EnergyMap const & weights,
117  Vector & F1,
118  Vector & F2
119  ) const;
120 
121 
122  virtual
124 
125  /////////////////////////////////////////////////////////////////////////////
126  // data
127  /////////////////////////////////////////////////////////////////////////////
128 
129 
130 private:
131  bool map_loaded;
133  mutable bool isRepacking;
134  mutable bool pose_is_proper;
135  mutable double pcc_structure;
136  mutable int nreses;
137 virtual
138 core::Size version() const;
139 };
140 
141 
142 }
143 }
144 }
145 
146 #endif
147