Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_TorsionPotential.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/RNA_TorsionPotential.hh
11 /// @brief RNA_TorsionPotential potential class delcaration
12 /// @author Andrew Leaver-Fay (leaverfa@email.unc.edu)
13 
14 #ifndef INCLUDED_core_scoring_rna_RNA_TorsionPotential_HH
15 #define INCLUDED_core_scoring_rna_RNA_TorsionPotential_HH
16 
17 // Unit Headers
20 
21 // Project Headers
22 #include <core/types.hh>
23 #include <core/pose/Pose.fwd.hh>
24 // AUTO-REMOVED #include <core/scoring/ScoreFunction.fwd.hh>
28 
29 // Utility Headers
30 #include <utility/pointer/ReferenceCount.hh>
31 
32 
34 #include <core/id/AtomID.fwd.hh>
35 #include <core/id/TorsionID.fwd.hh>
37 #include <utility/vector1.hh>
38 #include <string>
39 
40 
41 namespace core {
42 namespace scoring {
43 namespace rna {
44 
46 {
47 
48 public:
50  virtual ~RNA_TorsionPotential() ; // auto-removing definition from header{}
51 
52 
53  // void update_constraints( pose::Pose & pose ) const;
54  Real
56  core::conformation::Residue const & rsd,
57  pose::Pose const & pose
58  ) const;
59 
60 
61  Real
63  core::conformation::Residue const & rsd1,
64  core::conformation::Residue const & rsd2,
65  pose::Pose const & pose ) const;
66 
67  void
69  id::AtomID const & id,
70  pose::Pose const & pose,
71  EnergyMap const & weights,
72  Vector & F1,
73  Vector & F2
74  ) const;
75 
76 
77  //Real
78  // compute_torsion_potential( Size const & torsion_number, Real const & value, Real const & delta , Real const & next_alpha ) const;
79 
80 private:
81 
82  bool
83  check_intra_residue( id::TorsionID const & torsion_id, pose::Pose const & pose, Size const seqpos ) const;
84 
85  void
87 
88  void
90  std::string const & filename );
91 
92  void
94 
95  bool
96  Should_score_torsion( core::pose::Pose const & pose, core::id::TorsionID const & torsion_id) const;
97 
98  bool
99  get_f1_f2( core::id::TorsionID const & torsion_id,
100  core::pose::Pose const & pose, core::id::AtomID const & id, Vector & f1, Vector & f2 ) const;
101 
102  void
103  Output_boolean(std::string const & tag, bool boolean) const;
104 
105  bool
107 
108  void
109  print_torsion_info(core::pose::Pose const & pose, id::TorsionID const & torsion_id) const;
110 
111  bool
112  Is_cutpoint_closed_torsion( core::pose::Pose const & pose, core::id::TorsionID const & torsion_id) const;
113 
115 
116  // alpha, beta, gamma, delta, epsilon, zeta
120 
127 
131 
133  bool const verbose_;
136 
137 };
138 
139 }
140 }
141 }
142 
143 #endif