Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ElecDensAtomwiseEnergy.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 src/core/scoring/electron_density_atomwise/ElecDensAtomwiseEnergy.hh
11 /// @brief Declaration for elec_dens_atomwise scoring method
12 /// @author Fang-Chieh Chou
13 
14 #ifndef INCLUDED_core_scoring_electron_density_atomwise_ElecDensAtomwiseEnergy_HH
15 #define INCLUDED_core_scoring_electron_density_atomwise_ElecDensAtomwiseEnergy_HH
16 
17 // Package headers
20 
21 // Project headers
22 #include <core/pose/Pose.fwd.hh>
23 #include <core/id/TorsionID.fwd.hh>
24 #include <core/id/DOF_ID.fwd.hh>
25 #include <core/types.hh>
28 
29 
30 namespace core {
31 namespace scoring {
32 namespace electron_density_atomwise {
33 
35 public:
37 
38 public:
39 
40  ///
42 
43  ///
44  virtual ~ElecDensAtomwiseEnergy();
45 
46  virtual
48  clone() const;
49 
50  ///
51  virtual
53 
54  /////////////////////////////////////////////////////////////////////////////
55 
57  long_range_type() const;
58 
59  ///
60  virtual
61  bool
63  pose::Pose const & pose,
64  Size res1,
65  Size res2
66  ) const;
67 
68 
69  ///
70  virtual
71  bool
72  defines_intrares_energy ( EnergyMap const & ) const {
73  return true;
74  }
75 
76  ///
77  virtual
78  void
80  conformation::Residue const & rsd1,
81  conformation::Residue const & rsd2,
82  pose::Pose const & pose,
83  ScoreFunction const & sfxn,
84  EnergyMap & emap
85  ) const;
86 
87 
88  ///
89  virtual
90  void
92  conformation::Residue const &,
93  pose::Pose const &,
94  ScoreFunction const &,
95  EnergyMap &
96  ) const {
97  return;
98  }
99 
100 
101  ///
102  virtual
103  void
105  id::AtomID const & id,
106  pose::Pose const & pose,
107  kinematics::DomainMap const &, // domain_map,
108  ScoreFunction const & sfxn,
109  EnergyMap const & weights,
110  Vector & F1,
111  Vector & F2
112  ) const;
113 
114  ///
115  virtual
116  void
118  pose::Pose & pose,
119  ScoreFunction const &
120  ) const;
121 
123 
124  ///
125  virtual
126  void
128  pose::Pose const &,
129  ScoreFunction const &,
130  EnergyMap &
131  ) const {
132  return;
133  }
134 
135 private:
136  mutable bool pose_is_proper;
137  virtual
138  core::Size version() const;
139 };
140 
141 } // electron_density_atomwise
142 } // scoring
143 } // core
144 
145 
146 #endif