Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CoarseSingleResidueLibrary.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/dunbrack/CoarseSingleResidueLibrary.hh
11 /// @brief
12 /// @author Andrew Leaver-Fay
13 
14 
15 #ifndef INCLUDED_core_pack_dunbrack_CoarseSingleResidueLibrary_hh
16 #define INCLUDED_core_pack_dunbrack_CoarseSingleResidueLibrary_hh
17 
18 // Unit headers
20 
21 // Package headers
24 
25 // ObjexxFCL headers
26 #include <ObjexxFCL/FArray2D.hh>
27 
28 namespace core {
29 namespace pack {
30 namespace dunbrack {
31 
32 
34 {
35 public:
36 
38 
40 
41  /// @brief Adheres to the contract from SingleLigandRotamerLibrary
42  virtual
43  Real
45  conformation::Residue const & rsd,
47  ) const;
48 
49  /// @brief Adheres to the contract from SingleLigandRotamerLibrary
50  virtual
51  Real
53  conformation::Residue const & rsd,
55  ) const;
56 
57  /// @brief Adheres to the contract from SingleLigandRotamerLibrary
58  virtual
59  Real
61  conformation::Residue const & rsd,
62  bool curr_rotamer_only,
64  ) const;
65 
66  /// @brief Adheres to the contract from SingleLigandRotamerLibrary
67  virtual
68  void
70  pose::Pose const & pose,
71  scoring::ScoreFunction const & scorefxn,
72  pack::task::PackerTask const & task,
73  graph::GraphCOP packer_neighbor_graph,
74  chemical::ResidueTypeCOP concrete_residue,
75  conformation::Residue const& existing_residue,
76  utility::vector1< utility::vector1< Real > > const & extra_chi_steps,
77  bool buried,
78  RotamerVector & rotamers
79  ) const;
80 
81  /// @brief Adheres to the contract from SingleLigandRotamerLibrary
82  virtual
84  coarsify(coarse::Translator const &map) const;
85 
86  /// @brief Adheres to the contract from SingleLigandRotamerLibrary
87  virtual
88  void
89  write_to_file( utility::io::ozstream &out ) const;
90 
91 
92  void
93  add_set( Size const phi_bin, Size const psi_bin, CoarseRotamerSetOP rotamers );
94 
95 private:
96 
97  ObjexxFCL::FArray2D< CoarseRotamerSetOP > rotamers_;
98 
99 }; // CoarseSingleResidueLibrary
100 
101 
102 } // namespace dunbrack
103 } // namespace scoring
104 } // namespace core
105 
106 #endif // INCLUDED_core_pack_dunbrack_CoarseSingleResidueLibrary_HH