Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MMAtomType.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/chemical/MMAtomType.hh
11 /// @brief Molecular mechanics atom type class
12 /// @author P. Douglas Renfrew (renfrew@unc.edu)
13 
14 
15 #ifndef INCLUDED_core_chemical_MMAtomType_hh
16 #define INCLUDED_core_chemical_MMAtomType_hh
17 
18 // Unit headers
20 
21 // Project headers
22 #include <core/types.hh>
23 
24 // C++ headers
25 #include <string>
26 
27 namespace core {
28 namespace chemical {
29 
30 /// @brief Basic MM atom type
31 ///
32 /// @details Simple class for holding the name and the LJ properties of a Charmm
33 /// molecular mechanics atom type. Borrows heavily and functions similarly
34 /// to the rosetta atom type class, AtomType
35 ///
37 {
38 
39 public:
40 
41  /// @brief Construct a new MMAtomType with its name
42  MMAtomType( std::string const & name_in):
43  name_( name_in ),
44  lj_radius_( 0.0 ),
45  lj_wdepth_( 0.0 ),
46  lj_three_bond_radius_( 0.0 ),
48  {}
49 
50  /// @brief Return the name of the MMAtomType
51  std::string const& name() const { return name_; }
52 
53  /// @brief Return the LJ radius of the atom type
54  Real lj_radius() const { return lj_radius_; }
55 
56  /// @brief Return the LJ well depth of the atom type
57  Real lj_wdepth() const { return lj_wdepth_; }
58 
59  /// @brief Return the LJ radius for use when atoms types are seperated by 3 bonds
61 
62  /// @brief Return the LJ well depth for use when atoms types are seperated by 3 bonds
64 
65  /// @brief set LJ and LK solvation parameter for this atom type
66  void set_parameter( std::string const & param, Real const setting );
67 
68 private:
69 
70  /// @brief name of the mm atom type
72 
73  /// @brief Lennard-Jones parameters
78 
79 };
80 
81 
82 } // chemical
83 } // core
84 
85 
86 
87 #endif // INCLUDED_core_chemical_MMAtomType_HH