BALL
1.5.0
include
BALL
MOLMEC
PARAMETER
quadraticBondStretch.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_MOLMEC_PARAMETER_QUADRATICBONDSTRETCH_H
6
#define BALL_MOLMEC_PARAMETER_QUADRATICBONDSTRETCH_H
7
8
#ifndef BALL_FORMAT_PARAMETERSECTION_H
9
# include <
BALL/FORMAT/parameterSection.h
>
10
#endif
11
12
#ifndef BALL_MOLMEC_PARAMETER_ATOMTYPES_H
13
# include <
BALL/MOLMEC/PARAMETER/atomTypes.h
>
14
#endif
15
16
namespace
BALL
17
{
25
class
BALL_EXPORT
QuadraticBondStretch
26
:
public
ParameterSection
27
{
28
public
:
29
30
enum
31
{
32
UNKNOWN
33
};
34
35
struct
BALL_EXPORT
Values
36
{
37
float
r0
;
38
float
k
;
39
};
40
41
struct
BALL_EXPORT
Data
42
{
43
Atom
*
atom1
;
44
Atom
*
atom2
;
45
Values
values
;
46
};
47
48
51
QuadraticBondStretch
();
52
55
virtual
~QuadraticBondStretch
() ;
56
59
virtual
void
clear
() ;
60
66
virtual
bool
extractSection
(
ForceFieldParameters
& parameters,
const
String
& section_name);
67
69
virtual
bool
extractSection
(
Parameters
& parameters,
const
String
& section_name);
70
73
bool
hasParameters
(
Atom::Type
I,
Atom::Type
J)
const
;
74
77
QuadraticBondStretch::Values
getParameters
78
(
Atom::Type
I,
Atom::Type
J)
const
;
79
84
bool
assignParameters
85
(
QuadraticBondStretch::Values
& parameters,
86
Atom::Type
I,
Atom::Type
J)
const
;
87
88
protected
:
89
90
Size
number_of_atom_types_
;
91
92
float
*
k_
;
93
94
float
*
r0_
;
95
96
bool
*
is_defined_
;
97
98
String
*
names_
;
99
};
100
}
// namespace BALL
101
102
#endif // BALL_MOLMEC_PARAMETER_QUADRATICBONDSTRETCH_H
BALL::QuadraticBondStretch::hasParameters
bool hasParameters(Atom::Type I, Atom::Type J) const
BALL::Parameters
Definition:
parameters.h:25
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
BALL::QuadraticBondStretch::r0_
float * r0_
Definition:
quadraticBondStretch.h:94
parameterSection.h
BALL::QuadraticBondStretch::Data::atom1
Atom * atom1
Definition:
quadraticBondStretch.h:43
BALL::Atom
Definition:
atom.h:90
BALL::QuadraticBondStretch
Definition:
quadraticBondStretch.h:27
BALL::QuadraticBondStretch::number_of_atom_types_
Size number_of_atom_types_
Definition:
quadraticBondStretch.h:90
BALL::QuadraticBondStretch::Values::r0
float r0
Definition:
quadraticBondStretch.h:37
BALL::String
Definition:
string.h:57
BALL::QuadraticBondStretch::names_
String * names_
Definition:
quadraticBondStretch.h:98
BALL::QuadraticBondStretch::Values::k
float k
Definition:
quadraticBondStretch.h:38
BALL::QuadraticBondStretch::extractSection
virtual bool extractSection(ForceFieldParameters ¶meters, const String §ion_name)
BALL::QuadraticBondStretch::Data
Definition:
quadraticBondStretch.h:42
BALL
Definition:
constants.h:13
BALL::QuadraticBondStretch::getParameters
QuadraticBondStretch::Values getParameters(Atom::Type I, Atom::Type J) const
BALL::QuadraticBondStretch::Data::atom2
Atom * atom2
Definition:
quadraticBondStretch.h:44
BALL_SIZE_TYPE
BALL::QuadraticBondStretch::is_defined_
bool * is_defined_
Definition:
quadraticBondStretch.h:96
BALL::QuadraticBondStretch::~QuadraticBondStretch
virtual ~QuadraticBondStretch()
BALL::QuadraticBondStretch::extractSection
virtual bool extractSection(Parameters ¶meters, const String §ion_name)
UNKNOWN
UNKNOWN
Definition:
result.h:27
BALL::QuadraticBondStretch::clear
virtual void clear()
BALL::ParameterSection
Definition:
parameterSection.h:40
BALL::ForceFieldParameters
Definition:
forceFieldParameters.h:31
BALL::QuadraticBondStretch::assignParameters
bool assignParameters(QuadraticBondStretch::Values ¶meters, Atom::Type I, Atom::Type J) const
BALL::QuadraticBondStretch::QuadraticBondStretch
QuadraticBondStretch()
BALL::QuadraticBondStretch::k_
float * k_
Definition:
quadraticBondStretch.h:92
BALL::QuadraticBondStretch::Data::values
Values values
Definition:
quadraticBondStretch.h:45
BALL::Atom::Type
short Type
Definition:
atom.h:103
BALL::QuadraticBondStretch::Values
Definition:
quadraticBondStretch.h:36
atomTypes.h
Generated by
1.8.20