Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ChainbreakEnergy.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/EtableEnergy.hh
11 /// @brief Etable energy method class declaration
12 /// @author Phil Bradley
13 /// @author Andrew Leaver-Fay
14 
15 #ifndef INCLUDED_core_scoring_methods_ChainbreakEnergy_hh
16 #define INCLUDED_core_scoring_methods_ChainbreakEnergy_hh
17 
18 // Unit headers
20 
21 // Package headers
25 
26 // Project headers
27 #include <core/pose/Pose.fwd.hh>
28 
29 #include <utility/vector1.hh>
30 
31 
32 
33 //#include <ObjexxFCL/FArray3D.hh>
34 
35 namespace core {
36 namespace scoring {
37 namespace methods {
38 
39 /// @brief ChainbreakEnergy class iterates across all residues in finalize()
40 /// and determines the penalty between residues i and i+1 by how much their
41 /// psueduo atoms do not align.
43 public:
45 
46 public:
47 
49 
50  /// clone
51  virtual
53  clone() const {
54  return new ChainbreakEnergy;
55  }
56 
57  /// called at the end of energy evaluation
58  virtual
59  void
61  pose::Pose & pose,
62  ScoreFunction const &,
63  EnergyMap & totals
64  ) const;
65 
66 
67  /// called during gradient-based minimization inside dfunc
68  /**
69  F1 and F2 are not zeroed -- contributions from this atom are
70  just summed in
71  **/
72  virtual
73  void
75  id::AtomID const & id,
76  pose::Pose const & pose,
77  kinematics::DomainMap const & domain_map,
78  ScoreFunction const & sfxn,
79  EnergyMap const & weights,
80  Vector & F1,
81  Vector & F2
82  ) const;
83 
84  virtual
85  void
87 
88  virtual
89  core::Size version() const;
90 
91 
92 };
93 
94 } // methods
95 } // scoring
96 } // core
97 
98 
99 #endif