Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_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/rna/RNA_AtomVDW.hh
11 /// @brief Information on which atoms to use for computing clashes
12 /// @author Rhiju Das
13 
14 
15 #ifndef INCLUDED_core_scoring_rna_RNA_AtomVDW_hh
16 #define INCLUDED_core_scoring_rna_RNA_AtomVDW_hh
17 
18 // Unit Headers
21 #include <core/chemical/AA.hh>
22 
23 // Package headers
24 
25 // Project headers
26 #include <core/types.hh>
27 
28 // Utility headers
29 #include <utility/pointer/ReferenceCount.hh>
30 
31 // AUTO-REMOVED #include <ObjexxFCL/FArray2D.hh>
32 #include <ObjexxFCL/FArray4D.hh>
33 
34 #include <map>
35 
36 #include <utility/vector1.fwd.hh>
37 
38 
39 
40 namespace core {
41 namespace scoring {
42 namespace rna {
43 
44 
46 
47 public:
48 
49  /// @brief ctor, reads data file
50  RNA_AtomVDW();
51 
52  ///
54  vdw_atom_list( char const which_nucleotide ) const;
55 
56  Real
57  bump_parameter( Size const atom1, Size const atom2,
58  char const which_nucleotide1, char const which_nucleotide2 ) const;
59 
60 private: //data
61 
62  //Which atoms to loop over during VDW check?
63  typedef std::map< char, utility::vector1< std::string > > AtomList;
65 
66  //Radii for VDW calculations...
67  // I originally had this as a crazy map,
68  // but it was really slow... now its an FArray,
69  // with a helper function to convert a,c,g,u to indices 1,2,3,4.
70  ObjexxFCL::FArray4D <Real> rna_vdw_parameter_;
71 
72 
73  };
74 
75 }
76 }
77 }
78 
79 #endif // INCLUDED_core_scoring_ScoreFunction_HH