Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
chemical
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
19
#include <
core/chemical/MMAtomType.fwd.hh
>
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
///
36
class
MMAtomType
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 ),
47
lj_three_bond_wdepth_
( 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
60
Real
lj_three_bond_radius
()
const
{
return
lj_three_bond_radius_
; }
61
62
/// @brief Return the LJ well depth for use when atoms types are seperated by 3 bonds
63
Real
lj_three_bond_wdepth
()
const
{
return
lj_three_bond_wdepth_
; }
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
71
std::string
const
name_
;
72
73
/// @brief Lennard-Jones parameters
74
Real
lj_radius_
;
75
Real
lj_wdepth_
;
76
Real
lj_three_bond_radius_
;
77
Real
lj_three_bond_wdepth_
;
78
79
};
80
81
82
}
// chemical
83
}
// core
84
85
86
87
#endif // INCLUDED_core_chemical_MMAtomType_HH
Generated on Sat Jun 1 2013 11:31:35 for Rosetta 3.5 by
1.8.4