Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DFIRE_Potential.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/dfire/DFIRE_Potential.hh
11 /// @brief DFIRE Potential class declaration
12 /// @author James Thompson
13 
14 #ifndef INCLUDED_core_scoring_methods_dfire_DFIRE_Potential_HH
15 #define INCLUDED_core_scoring_methods_dfire_DFIRE_Potential_HH
16 
17 // core
18 // AUTO-REMOVED #include <core/pose/Pose.hh>
19 // AUTO-REMOVED #include <core/scoring/types.hh>
20 // AUTO-REMOVED #include <core/conformation/Residue.hh>
21 
22 // Unit Headers
24 #include <utility/pointer/ReferenceCount.hh>
25 #include <boost/unordered_map.hpp>
26 
27 // Utility headers
28 // AUTO-REMOVED #include <ObjexxFCL/FArray3D.hh>
29 // AUTO-REMOVED #include <numeric/xyzMatrix.hh>
30 // AUTO-REMOVED #include <numeric/xyzVector.hh>
31 
32 #include <core/types.hh>
34 #include <utility/vector1.hh>
35 
36 
37 namespace core {
38 namespace scoring {
39 namespace methods {
40 namespace dfire {
41 
43 public:
45 
46  virtual ~DFIRE_Potential() ; // auto-removing definition from header{}
47 
50  core::conformation::Residue const & rsd1,
51  core::conformation::Residue const & rsd2
52  ) const;
53 
54  bool is_loaded() const;
55 
56  void
57  read_potential(std::string const & fn);
58 
59 private:
60  core::Size res_index ( std::string const & res_name ) const;
61  core::Size atom_index( std::string const & atom_name ) const;
62 
64 
65  boost::unordered_map< std::string, core::Size > atom_res_idx_;
67 };
68 
70 
71 } // dfire
72 } // methods
73 } // scoring
74 } // core
75 
76 #endif