Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ResidualDipolarCouplingEnergy.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/ResidualDipolarCouplingEnergy.hh
11 /// @brief RDC energy - comparing experimental RDC values to calculated values
12 /// @author Srivatsan Raman
13 
14 
15 #ifndef INCLUDED_core_scoring_methods_ResidualDipolarCouplingEnergy_hh
16 #define INCLUDED_core_scoring_methods_ResidualDipolarCouplingEnergy_hh
17 
18 // Package headers
22 
23 // Project headers
24 #include <core/pose/Pose.fwd.hh>
26 
28 #include <core/id/AtomID_Map.hh>
29 
30 #include <utility/vector1.hh>
31 
32 
33 
34 //Objexx headers
35 
36 
37 // Utility headers
38 
39 
40 namespace core {
41 namespace scoring {
42 namespace methods {
43 
44 ///
46 public:
48 
49 public:
50 
52 
53  //clone
54  virtual
56  clone() const;
57 
58  /////////////////////////////////////////////////////////////////////////////
59  // scoring
60  /////////////////////////////////////////////////////////////////////////////
61  virtual
62  void
63  setup_for_scoring( pose::Pose &, ScoreFunction const & ) const;
64 
65  /// @brief Called at the beginning of atom tree minimization, this method
66  /// allows the derived class the opportunity to initialize pertinent data
67  /// that will be used during minimization. During minimzation, the chemical
68  /// structure of the pose is constant, so assumptions on the number of atoms
69  /// per residue and their identities are safe so long as the pose's Energies
70  /// object's "use_nblist()" method returns true.
71  virtual
72  void
74  pose::Pose & ,
75  ScoreFunction const & ,
77  ) const;
78 
79  void
81  pose::Pose & pose,
82  ScoreFunction const &,
83  EnergyMap & totals
84  ) const;
85 
86  void
88  utility::vector1< bool > & /*context_graphs_required*/
89  ) const {}
90 
91 
92  virtual void eval_atom_derivative(
93  id::AtomID const & id,
94  pose::Pose const & pose,
95  kinematics::DomainMap const & domain_map,
96  ScoreFunction const & sfxn,
97  EnergyMap const & weights,
98  Vector & F1,
99  Vector & F2
100  ) const;
101 
103  pose::Pose const& pose,
104  ResidualDipolarCoupling& rdc_data
105  ) const;
106 
107  private:
108 
110  pose::Pose & pose
111  ) const;
112 
114  pose::Pose& pose
115  ) const;
116 
117 private:
118 
119 //used by Energy Method during scoring... should this become part of ResidualDipolarCoupling and thus cached in the pose
120  mutable core::Real dip_score_; //computed in setup_for_scoring.. delivered in finalize
122 virtual
123 core::Size version() const;
124 };
125 
126 } //methods
127 } //scoring
128 } //core
129 
130 #endif // INCLUDED_core_scoring_ScoreFunction_HH