Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RG_Energy_RNA.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/RG_Energy_RNA.hh
11 /// @brief Radius of gyration score for RNA, to match Rosetta++
12 /// @author Rhiju Das
13 
14 
15 #ifndef INCLUDED_core_scoring_rna_RG_Energy_RNA_hh
16 #define INCLUDED_core_scoring_rna_RG_Energy_RNA_hh
17 
18 
19 // Package headers
22 
24 
25 
26 // Project headers
27 #include <core/pose/Pose.fwd.hh>
28 #include <core/types.hh>
29 #include <numeric/xyzVector.hh>
30 
31 #include <utility/vector1.hh>
32 
33 
34 // Utility headers
35 
36 
37 namespace core {
38 namespace scoring {
39 namespace rna {
40 
41 
43 public:
45 
46 public:
47 
48  /// @brief Defines a center of mass based RG calculation that is O(n) rather
49  /// than O(n^2). Not tested yet.
50  RG_Energy_RNA();
51 
52  /// clone
53  virtual
55  clone() const;
56 
57  /////////////////////////////////////////////////////////////////////////////
58  // scoring
59  /////////////////////////////////////////////////////////////////////////////
60 
61  void
62  setup_for_scoring( pose::Pose & pose, ScoreFunction const & ) const;
63 
64  void
65  setup_for_derivatives( pose::Pose & pose, ScoreFunction const & ) const;
66 
67  void
69  pose::Pose & pose,
70  ScoreFunction const &,
71  EnergyMap & totals
72  ) const;
73 
74 /////////////////////////////////
75  void
77  id::AtomID const & atom_id,
78  pose::Pose const & pose,
79  kinematics::DomainMap const & domain_map,
80  ScoreFunction const &,
81  EnergyMap const & weights,
82  Vector & F1,
83  Vector & F2 ) const;
84 
85  void
87  utility::vector1< bool > & /*context_graphs_required*/
88  ) const {}
89 
90 private:
91 
93  mutable core::Real rg_;
94 virtual
95 core::Size version() const;
96 
97 };
98 
99 
100 }
101 }
102 }
103 
104 #endif // INCLUDED_core_scoring_methods_RG_Energy_RNA_HH