Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AtomVDW.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/VDW_Energy.hh
11 /// @brief Statistically derived rotamer pair potential class declaration
12 /// @author Phil Bradley
13 
14 
15 #ifndef INCLUDED_core_scoring_AtomVDW_hh
16 #define INCLUDED_core_scoring_AtomVDW_hh
17 
18 // Unit Headers
20 
21 // Package headers
23 
24 // Project headers
25 #include <core/types.hh>
26 
27 // Utility headers
28 #include <utility/vector1.hh>
29 #include <utility/pointer/ReferenceCount.hh>
30 
31 // C++ Headers
32 #include <string>
33 
34 namespace core {
35 namespace scoring {
36 
37 
39 
40 public:
41 
42  /// @brief ctor, reads data file
43  AtomVDW( std::string const & atom_type_set_name );
44 
45 
46  ///
48  operator()( Size const atom_type_index ) const
49  {
50  return atom_vdw_[ atom_type_index ];
51  }
52 
53  ///
54  Real
55  approximate_vdw_radius( Size const atom_type_index ) const
56  {
57  return approximate_vdw_radii_[ atom_type_index ];
58  }
59 
60 private:
61 
62  void
64  utility::vector1< int > const & atom_type_index,
65  chemical::AtomTypeSet const & atom_type_set
66  );
67 
68 private:
70 
71  /// @brief Approximation to per-atom radii, derived from atom_vdw_ data
73 
74 };
75 
76 }
77 }
78 
79 #endif // INCLUDED_core_scoring_ScoreFunction_HH