Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MMLJEnergyTable.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/mm/MMLJEnergyTable.hh
11 /// @brief Molecular mechanics lj score class
12 /// @author P. Douglas Renfrew (renfrew@unc.edu)
13 
14 
15 #ifndef INCLUDED_core_scoring_mm_MMLJEnergyTable_hh
16 #define INCLUDED_core_scoring_mm_MMLJEnergyTable_hh
17 
18 // Unit headers
23 
24 // Project headers
25 #include <core/types.hh>
26 
27 // Utility header
28 #include <utility/vector1.hh>
29 // AUTO-REMOVED #include <utility/pointer/access_ptr.hh>
30 #include <utility/pointer/owning_ptr.hh>
31 #include <utility/pointer/ReferenceCount.hh>
32 
33 // C++ headers
34 
35 namespace core {
36 namespace scoring {
37 namespace mm {
38 
39 /// @brief blah
41 {
42 
43 public:
44  ///@brief Automatically generated virtual destructor for class deriving directly from ReferenceCount
45  virtual ~MMLJEnergyTable();
46 
47  /// @briefs typedefs
50 
51  /// @brief Default ctor
53 
54  /// @brief blah
55  MMLJScore const &
56  mm_lj_score() const
57  { return mm_lj_score_; }
58 
59  /// @brief blah
60  Real
61  max_dist() const
62  { return max_dist_; }
63 
64  /// @brief blah
65  void
66  score( Size atom1, Size atom2, Size & path_distance, Real & squared_distance, Real & rep, Real & atr ) const;
67 
68  /// @brief blah
69  void
70  deriv_score( Size atom1, Size atom2, Size & path_distance, Real & squared_distance, Real & rep, Real & atr ) const;
71 
72 private:
73 
74  /// @brief Local MMLJLibrary for looking up lj parameters
76 
81 
86 
87  Real max_dist_; // in angstrom squared
88  Real bin_dist_; // in angstrom squared
90 
91  Real linear_switch_point; // percent of distance at minimum
92 };
93 
94 } // namespace mm
95 } // namespace scoring
96 } // namespace core
97 
98 
99 #endif // INCLUDED_core_mm_mm_lj_energy_table_HH