Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DNATorsionPotential.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/dna/DNATorsionPotential.hh
11 /// @brief DNATorsionPotential potential class delcaration
12 /// @author Andrew Leaver-Fay (leaverfa@email.unc.edu)
13 
14 #ifndef INCLUDED_core_scoring_dna_DNATorsionPotential_HH
15 #define INCLUDED_core_scoring_dna_DNATorsionPotential_HH
16 
17 // Unit Headers
19 
20 // Project Headers
21 #include <core/types.hh>
22 #include <core/pose/Pose.fwd.hh>
30 
31 // Utility Headers
32 #include <utility/pointer/ReferenceCount.hh>
33 
34 // ObjexxFCL Headers
35 #include <ObjexxFCL/FArray1D.hh>
36 #include <ObjexxFCL/FArray2D.hh>
37 #include <ObjexxFCL/FArray4D.hh>
38 
39 namespace core {
40 namespace scoring {
41 namespace dna {
42 
43 //enum{ WHATEVER, ALPHA, BETA, GAMMA, DELTA, EPSILON, ZETA, CHI, NU0, NU1, NU2, NU3, NU4 };
44 
46 {
47 
48 public:
51 
52 
53  /* Undefinded, comented out to make python bindings complile
54  void
55  eval_dna_torsion_score_residue(
56  conformation::Residue const & rsd,
57  Size const dna_torsion_number,
58  Real & score,
59  Real & deriv ) const;
60 
61 
62  void
63  eval_ribose_closure_score( conformation::Residue const & rsd, Real & score ) const;
64 
65 
66  void
67  eval_ribose_closure_derivative(
68  id::AtomID const & id,
69  pose::Pose const & pose,
70  Vector & f1,
71  Vector & f2 ) const;
72  */
73 
74  // void update_constraints( pose::Pose & pose ) const;
75 
76  void
77  setup_constraints( pose::Pose & pose, constraints::ConstraintSetOP & dna_torsion_constraints,
78  constraints::ConstraintSetOP & dna_sugar_close_constraints, constraints::ConstraintSetOP & dna_base_distance_constraints ) const;
79 
80  Real delta_cutoff() const { return DELTA_CUTOFF_; }
81 
88 
94 
95  void
97 
98 private:
99 
100  void
102 
103  void
105 
106  void
108  pose::Pose & pose,
109  constraints::ConstraintSet & cst_set ) const;
110 
111  void
113  pose::Pose & pose,
114  Size const i,
115  constraints::ConstraintSet & cst_set,
116  Size const dna_torsion_number,
117  utility::vector1< constraints::AmberPeriodicFuncOP > const & gaussian_parameter_set ) const;
118 
119 
120  bool
122  Size const dna_torsion_number,
123  pose::Pose & pose,
124  Size const resid,
125  id::AtomID & id1,
126  id::AtomID & id2,
127  id::AtomID & id3,
128  id::AtomID & id4 ) const;
129 
130  void
132 
139 
145 
152 
158 
159  // alpha, beta, gamma, delta, epsilon, zeta
163 
164  // Ribose closure
168 
175 
176  bool const verbose_;
177 
178 };
179 
180 }
181 }
182 }
183 
184 #endif